Skip to content
Open
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
16 changes: 8 additions & 8 deletions rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ crate-type = ["cdylib", "rlib"]

[dependencies]
bullet-exchange-interface = { version = "=0.14.3", features = ["schema"] }
bullet-ws-interface = "0.2"
bullet-ws-interface = "0.3"
sov-universal-wallet = { version = "0.4", features = ["serde"] }


Expand All @@ -35,11 +35,11 @@ url = "2"

# Signing
ed25519-dalek = { version = "2.1", features = ["rand_core"] }
rand = "0.8"
rand = "0.10"
borsh = "1"
hex = "0.4"
base64 = "0.22"
sha2 = "0.10"
base64 = "0.23"
sha2 = "0.11"

# WebSocket (works on both native and WASM)
reqwest-websocket = { version = "0.6", features = ["json"] }
Expand All @@ -56,21 +56,21 @@ tokio = { version = "1", features = ["sync", "rt", "macros", "time"] }

[target.'cfg(target_arch = "wasm32")'.dependencies]
futures-timer = { version = "3", features = ["wasm-bindgen"] }
getrandom = { version = "0.2", features = ["js"] }
getrandom = { version = "0.4", features = ["js"] }

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale getrandom WASM feature name

High Severity

The bump to getrandom 0.4 still enables the js feature from 0.2, but 0.4 only defines wasm_js (plus std and sys_rng). Cargo rejects the unknown feature or fails to enable the WASM backend, so wasm32 builds and CI steps like just build-wasm break once the lockfile picks up 0.4.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 81761fa. Configure here.

wasm-bindgen-futures = "0.4"

[build-dependencies]
progenitor = "0.14"
serde_json = "1.0"
reqwest = { version = "0.13", features = ["blocking"] }
openapiv3 = "2"
schemars = "0.8"
schemars = "0.9"
syn = "2.0"
prettyplease = "0.2"
prettyplease = "0.3"
clap = { version = "4", features = ["derive"] }

[dev-dependencies]
tokio = { version = "=1.52.3", features = ["rt", "macros", "io-std", "io-util"] }
tokio = { version = "=1.53.1", features = ["rt", "macros", "io-std", "io-util"] }
tracing-subscriber = { version = "=0.3.23", features = ["env-filter"] }
wiremock = "=0.6.5"

Expand Down
4 changes: 2 additions & 2 deletions wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ futures-util = "0.3"
bon = "3.9.0"

[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = { version = "0.2", features = ["js"] }
getrandom = { version = "0.4", features = ["js"] }

[build-dependencies]
bullet-exchange-interface = { workspace = true, features = ["schema"] }
Expand All @@ -38,5 +38,5 @@ heck = "0.5"
quote = "1"
proc-macro2 = "1"
syn = "2"
prettyplease = "0.2"
prettyplease = "0.3"
strum = "0.28"