Skip to content

Commit

Permalink
deps
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Nov 27, 2023
1 parent e2709bf commit 3878e88
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 9 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,12 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-unknown-unknown
- uses: taiki-e/install-action@cargo-hack
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: check
run: cargo check --workspace --target wasm32-unknown-unknown
- name: cargo hack
run: cargo hack check --target wasm32-unknown-unknown

feature-checks:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ futures-util = "0.3.29"
futures-executor = "0.3.29"

hyper = "0.14.27"
tokio = { version = "1.33", features = ["sync", "macros"] }
tokio = "1.33"
tower = { version = "0.4.13", features = ["util"] }

tracing = "0.1.40"
Expand Down
2 changes: 1 addition & 1 deletion crates/pubsub/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ alloy-transport.workspace = true
bimap.workspace = true
futures.workspace = true
serde_json.workspace = true
tokio.workspace = true
tokio = { workspace = true, features = ["macros", "sync"] }
tower.workspace = true
tracing.workspace = true
2 changes: 1 addition & 1 deletion crates/signer-aws/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spki.workspace = true
thiserror.workspace = true
tracing.workspace = true

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
[dev-dependencies]
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
aws-config = { version = "1.0", default-features = false }

Expand Down
5 changes: 4 additions & 1 deletion crates/signer-ledger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ tracing.workspace = true
# eip712
alloy-sol-types = { workspace = true, optional = true }

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
# https://github.com/summa-tx/coins/pull/127
tokio = { workspace = true, features = ["rt"] }

[dev-dependencies]
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }

[features]
Expand Down
3 changes: 3 additions & 0 deletions crates/signer-ledger/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
#[macro_use]
extern crate tracing;

// https://github.com/summa-tx/coins/pull/127
use tokio as _;

mod signer;
pub use signer::LedgerSigner;

Expand Down
2 changes: 1 addition & 1 deletion crates/signer-trezor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ semver.workspace = true
thiserror.workspace = true
k256.workspace = true

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
[dev-dependencies]
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }

0 comments on commit 3878e88

Please sign in to comment.