Skip to content

Commit 3e776b6

Browse files
use newer ciborium
1 parent e78494b commit 3e776b6

File tree

7 files changed

+16
-48
lines changed

7 files changed

+16
-48
lines changed

Cargo.lock

Lines changed: 10 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/rs-dpp/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ chrono = { version = "0.4.35", default-features = false, features = [
2121
"wasmbind",
2222
"clock",
2323
] }
24-
ciborium = { git = "https://github.com/qrayven/ciborium", branch = "feat-ser-null-as-undefined", optional = true }
24+
ciborium = { version = "0.2.2", optional = true }
2525
dashcore = { git = "https://github.com/dashpay/rust-dashcore", features = [
2626
"std",
2727
"secp-recovery",

packages/rs-dpp/src/util/cbor_value/canonical.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,7 @@ impl CborCanonicalMap {
114114

115115
let map = CborValue::Map(self.inner);
116116

117-
ciborium::ser::SerializerOptions::default()
118-
.serialize_null_as_undefined(true)
119-
.into_writer(&map, &mut bytes)?;
117+
ciborium::ser::into_writer(&map, &mut bytes)?;
120118

121119
Ok(bytes)
122120
}

packages/rs-drive-abci/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ license = "MIT"
1515
[dependencies]
1616
arc-swap = "1.7.0"
1717
bincode = { version = "2.0.0-rc.3", features = ["serde"] }
18-
ciborium = { git = "https://github.com/qrayven/ciborium", branch = "feat-ser-null-as-undefined" }
18+
ciborium = { version = "0.2.2" }
1919
chrono = "0.4.35"
2020
serde = { version = "1.0.197", features = ["derive"] }
2121
serde_json = { version = "1.0", features = ["preserve_order"] }

packages/rs-drive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ hex = { version = "0.4.3" }
3636

3737
# optional dependencies
3838
parking_lot = { version = "0.12.1", optional = true }
39-
ciborium = { git = "https://github.com/qrayven/ciborium", branch = "feat-ser-null-as-undefined", optional = true }
39+
ciborium = { version = "0.2.2", optional = true }
4040
arc-swap = { version = "1.7.0", optional = true }
4141
serde = { version = "1.0.197", features = ["derive"], optional = true }
4242
rand = { version = "0.8.4", features = ["small_rng"], optional = true }

packages/rs-platform-value/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ license = "MIT"
99

1010
[dependencies]
1111
bincode = { version = "2.0.0-rc.3", features = ["serde"] }
12-
ciborium = { git = "https://github.com/qrayven/ciborium", branch = "feat-ser-null-as-undefined", optional = true }
12+
ciborium = { version = "0.2.2", optional = true }
1313
thiserror = "1.0.64"
1414
bs58 = "0.5.1"
1515
base64 = "0.22.1"

packages/rs-sdk/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ thiserror = "1.0.64"
2424
tokio = { version = "1.40", features = ["macros", "rt-multi-thread"] }
2525
tokio-util = { version = "0.7.12" }
2626
async-trait = { version = "0.1.83" }
27-
ciborium = { git = "https://github.com/qrayven/ciborium", branch = "feat-ser-null-as-undefined" }
27+
ciborium = { version = "0.2.2" }
2828
serde = { version = "1.0.197", default-features = false, features = [
2929
"rc",
3030
], optional = true }

0 commit comments

Comments
 (0)