Skip to content

Commit

Permalink
wasm-bindgen: upgrade to 0.2.87 and remove serde-deserialize feature (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ecioppettini authored Jun 25, 2024
1 parent 29c48aa commit 8999325
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion chain/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ unicode-segmentation = "1.10.1"

# wasm
#[target.'cfg(all(target_arch = "wasm32", not(target_os = "emscripten")))'.dependencies]
wasm-bindgen = { version = "=0.2.83", features = ["serde-serialize"] }
wasm-bindgen = { version = "0.2.87" }
#rand_os = { version = "0.1", features = ["wasm-bindgen"] }
#js-sys = "=0.3.59"

Expand Down
2 changes: 1 addition & 1 deletion chain/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ cml-crypto = { path = "../../crypto/rust", version = "5.3.1" }
cml-crypto-wasm = { path = "../../crypto/wasm", version = "5.3.1" }
cbor_event = "2.4.0"
hex = "0.4.0"
wasm-bindgen = { version = "=0.2.83", features = ["serde-serialize"] }
wasm-bindgen = { version = "0.2.87" }
linked-hash-map = "0.5.3"
serde_json = "1.0.57"
serde-wasm-bindgen = "0.4.5"
2 changes: 1 addition & 1 deletion cip25/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.57"
thiserror = "1.0.37"
# for enums
wasm-bindgen = { version = "=0.2.83", features = ["serde-serialize"] }
wasm-bindgen = { version = "0.2.87" }
2 changes: 1 addition & 1 deletion cip25/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ hex = "0.4.0"
linked-hash-map = "0.5.3"
serde_json = "1.0.57"
serde-wasm-bindgen = "0.4.5"
wasm-bindgen = { version = "=0.2.83", features = ["serde-serialize"] }
wasm-bindgen = { version = "0.2.87" }
2 changes: 1 addition & 1 deletion cip36/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ cml-core = { path = "../../core/rust", version = "5.3.1" }
cml-core-wasm = { path = "../../core/wasm", version = "5.3.1" }
cbor_event = "2.2.0"
hex = "0.4.0"
wasm-bindgen = { version = "=0.2.83", features = ["serde-serialize"] }
wasm-bindgen = { version = "0.2.87" }
linked-hash-map = "0.5.3"
serde_json = "1.0.57"
serde-wasm-bindgen = "0.4.5"
2 changes: 1 addition & 1 deletion cml/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ hex = "0.4.0"
linked-hash-map = "0.5.3"
serde_json = "1.0.57"
serde-wasm-bindgen = "0.4.5"
wasm-bindgen = { version = "0.2", features=["serde-serialize"] }
wasm-bindgen = { version = "0.2.87" }
2 changes: 1 addition & 1 deletion core/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ cfg-if = "1"

# wasm
#[target.'cfg(all(target_arch = "wasm32", not(target_os = "emscripten")))'.dependencies]
wasm-bindgen = { version = "=0.2.83", features = ["serde-serialize"] }
wasm-bindgen = { version = "0.2.87" }
#rand_os = { version = "0.1", features = ["wasm-bindgen"] }
#js-sys = "=0.3.59"

Expand Down
4 changes: 2 additions & 2 deletions core/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ crate-type = ["cdylib", "rlib"]
cml-core = { path = "../rust", version = "5.3.1" }
cbor_event = "2.2.0"
hex = "0.4.0"
wasm-bindgen = { version = "=0.2.83", features = ["serde-serialize"] }
wasm-bindgen = { version = "0.2.87" }
linked-hash-map = "0.5.3"
serde_json = "1.0.57"
serde-wasm-bindgen = "0.4.5"
serde-wasm-bindgen = "0.4.5"
2 changes: 1 addition & 1 deletion crypto/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ crate-type = ["cdylib", "rlib"]
[dependencies]
cml-crypto = { path = "../rust", version = "5.3.1" }
cbor_event = "2.2.0"
wasm-bindgen = { version = "=0.2.83", features = ["serde-serialize"] }
wasm-bindgen = { version = "0.2.87" }
linked-hash-map = "0.5.3"
serde_json = "1.0.57"
4 changes: 2 additions & 2 deletions multi-era/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ derivative = "2.2.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.57"
schemars = "0.8.8"
wasm-bindgen = { version = "0.2", features=["serde-serialize"] }
wasm-bindgen = { version = "0.2.87" }

# only for declaring hash types
bech32 = "0.7.2"
hex = "0.4.0"
hex = "0.4.0"
4 changes: 2 additions & 2 deletions multi-era/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ hex = "0.4.0"
linked-hash-map = "0.5.3"
serde_json = "1.0.57"
serde-wasm-bindgen = "0.4.5"
wasm-bindgen = { version = "0.2", features=["serde-serialize"] }
wasm-bindgen = { version = "0.2.87" }
# not actual multi-era dependencies but we re-export these for the wasm builds
cml-cip25-wasm = { path = "../../cip25/wasm", version = "5.3.1" }
cml-cip36-wasm = { path = "../../cip36/wasm", version = "5.3.1" }
cml-cip36-wasm = { path = "../../cip36/wasm", version = "5.3.1" }

0 comments on commit 8999325

Please sign in to comment.