Skip to content

Commit 8b5deb7

Browse files
authored
Fix cargo deny. (#739)
1 parent 4277a65 commit 8b5deb7

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

.cargo/config

Lines changed: 0 additions & 2 deletions
This file was deleted.

.cargo/config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../config.toml

.github/workflows/deny.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: Cargo deny
22

33
on:
44
pull_request:
5-
schedule:
6-
- cron: '0 0 * * *'
75
push:
86
branches:
97
- master

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,19 +52,19 @@ soketto = { version = "0.8.0", optional = true }
5252
## Shared (WS, HTTP)
5353
url = { version = "2.1", optional = true }
5454
## EIP-1193
55-
js-sys = { version = "0.3.45", optional = true }
55+
js-sys = { version = "0.3.77", optional = true }
5656
### This is a transitive dependency, only here so we can turn on its wasm_bindgen feature
5757
getrandom = { version = "0.2", features = ["js"], optional = true }
5858
rand = { version = "0.8.1", optional = true }
5959
serde-wasm-bindgen = { version = "0.6.0", optional = true }
60-
wasm-bindgen = { version = "0.2.68", optional = true }
61-
wasm-bindgen-futures = { version = "0.4.18", optional = true }
60+
wasm-bindgen = { version = "0.2.100", optional = true }
61+
wasm-bindgen-futures = { version = "0.4.50", optional = true }
6262

6363
[dev-dependencies]
6464
# For examples
6565
env_logger = "0.11"
6666
hex-literal = "0.4"
67-
wasm-bindgen-test = "0.3.19"
67+
wasm-bindgen-test = "0.3.50"
6868

6969
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
7070
hyper = { version = "1", default-features = false, features = ["server"] }

config.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[target.wasm32-unknown-unknown]
2+
runner = 'wasm-bindgen-test-runner'
3+

deny.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ unlicensed = "warn"
6060
# List of explicitly allowed licenses
6161
# See https://spdx.org/licenses/ for list of possible licenses
6262
# [possible values: any SPDX 3.7 short identifier (+ optional exception)].
63-
allow = []
63+
allow = ["CDLA-Permissive-2.0"]
6464
# List of explicitly disallowed licenses
6565
# See https://spdx.org/licenses/ for list of possible licenses
6666
# [possible values: any SPDX 3.7 short identifier (+ optional exception)].

src/helpers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ pub fn to_result_from_output(output: rpc::Output) -> error::Result<rpc::Value> {
107107

108108
#[macro_use]
109109
#[cfg(test)]
110-
pub mod tests {
110+
mod tests {
111111
macro_rules! rpc_test {
112112
// With parameters
113113
(

src/transports/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ pub use self::batch::Batch;
66
pub mod either;
77
pub use self::either::Either;
88

9-
#[cfg(any(feature = "http", feature = "http-rustls"))]
9+
#[cfg(any(feature = "http", feature = "http-rustls-tls"))]
1010
pub mod http;
11-
#[cfg(any(feature = "http", feature = "http-rustls"))]
11+
#[cfg(any(feature = "http", feature = "http-rustls-tls"))]
1212
pub use self::http::Http;
1313

1414
#[cfg(any(feature = "ws-tokio", feature = "ws-async-std"))]

0 commit comments

Comments
 (0)