Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .cargo/config

This file was deleted.

1 change: 1 addition & 0 deletions .cargo/config
2 changes: 0 additions & 2 deletions .github/workflows/deny.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Cargo deny

on:
pull_request:
schedule:
- cron: '0 0 * * *'
push:
branches:
- master
Expand Down
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,19 @@ soketto = { version = "0.8.0", optional = true }
## Shared (WS, HTTP)
url = { version = "2.1", optional = true }
## EIP-1193
js-sys = { version = "0.3.45", optional = true }
js-sys = { version = "0.3.77", optional = true }
### This is a transitive dependency, only here so we can turn on its wasm_bindgen feature
getrandom = { version = "0.2", features = ["js"], optional = true }
rand = { version = "0.8.1", optional = true }
serde-wasm-bindgen = { version = "0.6.0", optional = true }
wasm-bindgen = { version = "0.2.68", optional = true }
wasm-bindgen-futures = { version = "0.4.18", optional = true }
wasm-bindgen = { version = "0.2.100", optional = true }
wasm-bindgen-futures = { version = "0.4.50", optional = true }

[dev-dependencies]
# For examples
env_logger = "0.11"
hex-literal = "0.4"
wasm-bindgen-test = "0.3.19"
wasm-bindgen-test = "0.3.50"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
hyper = { version = "1", default-features = false, features = ["server"] }
Expand Down
3 changes: 3 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[target.wasm32-unknown-unknown]
runner = 'wasm-bindgen-test-runner'

2 changes: 1 addition & 1 deletion deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ unlicensed = "warn"
# List of explicitly allowed licenses
# See https://spdx.org/licenses/ for list of possible licenses
# [possible values: any SPDX 3.7 short identifier (+ optional exception)].
allow = []
allow = ["CDLA-Permissive-2.0"]
# List of explicitly disallowed licenses
# See https://spdx.org/licenses/ for list of possible licenses
# [possible values: any SPDX 3.7 short identifier (+ optional exception)].
Expand Down
2 changes: 1 addition & 1 deletion src/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ pub fn to_result_from_output(output: rpc::Output) -> error::Result<rpc::Value> {

#[macro_use]
#[cfg(test)]
pub mod tests {
mod tests {
macro_rules! rpc_test {
// With parameters
(
Expand Down
4 changes: 2 additions & 2 deletions src/transports/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ pub use self::batch::Batch;
pub mod either;
pub use self::either::Either;

#[cfg(any(feature = "http", feature = "http-rustls"))]
#[cfg(any(feature = "http", feature = "http-rustls-tls"))]
pub mod http;
#[cfg(any(feature = "http", feature = "http-rustls"))]
#[cfg(any(feature = "http", feature = "http-rustls-tls"))]
pub use self::http::Http;

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