Skip to content

Commit

Permalink
fix: avoid enabling "js" feature of getrandom for wasm32 target
Browse files Browse the repository at this point in the history
  • Loading branch information
ninegua committed Jan 2, 2025
1 parent ab29295 commit 75133c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rs/rosetta-api/icrc1/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,14 @@ strum_macros = { workspace = true }
tempfile = { workspace = true }
tokio = { workspace = true }
tower-http = { workspace = true }
tower-request-id = "^0.3.0"
tracing = { workspace = true }
tracing-appender = { workspace = true }
tracing-subscriber = { workspace = true }
url = { workspace = true }

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
tower-request-id = "^0.3.0"

[lib]
path = "src/lib.rs"

Expand Down

0 comments on commit 75133c4

Please sign in to comment.