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
5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ repository = "https://github.com/bulletxyz/bullet-rust-sdk"
[workspace.dependencies]
bon = "3.9.0"
bullet-exchange-interface = { version = "0.3", features = ["schema"] }
# Versioned path dep so release-plz cascades rust crate bumps into the wasm
# crate (otherwise a path-only dep is treated as "no version requirement" and
# the wasm crate's version stays frozen while rust bumps). release-plz keeps
# the version field in lockstep with rust/Cargo.toml on every release PR.
bullet-rust-sdk = { path = "rust", version = "0.0.13" }
# Optimize WASM binary size without affecting the rust crate
[profile.release]
lto = true
Expand Down
2 changes: 1 addition & 1 deletion wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ publish = false # ships to npm as @bulletxyz/sdk-wasm, not crates.io
crate-type = ["cdylib", "rlib"]

[dependencies]
bullet-rust-sdk = { path = "../rust" }
bullet-rust-sdk = { workspace = true }
bullet-exchange-interface.workspace = true

wasm-bindgen = "0.2"
Expand Down