Skip to content

Commit

Permalink
Upgrade ckb_schemar to rust 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
eval-exec committed Mar 1, 2025
1 parent 6a306f0 commit 3310c29
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ members = [
[workspace.dependencies]
tempfile = "3"
itertools = "0.11.0"
# issue tracking: https://github.com/GREsau/schemars/pull/251
schemars = { version = "0.8.19", package = "ckb_schemars" }

[profile.release]
overflow-checks = true
Expand Down
2 changes: 1 addition & 1 deletion devtools/doc/rpc-gen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repository = "https://github.com/nervosnetwork/ckb"

[dependencies]
ckb-rpc ={ path = "../../../rpc", version = "= 0.200.0-pre" }
schemars = { version = "0.8.19", package = "ckb_schemars" }
schemars.workspace = true
serde_json = "~1.0"
tera = "1"
syn = { version = "2.0.39", features = ["extra-traits", "full", "parsing", "visit"] }
Expand Down
3 changes: 1 addition & 2 deletions rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ futures-util = { version = "0.3.21" }
tower-http = { version = "0.6", features = ["timeout", "cors"] }
async-stream = "0.3.3"
ckb-async-runtime = { path = "../util/runtime", version = "= 0.200.0-pre" }
# issue tracking: https://github.com/GREsau/schemars/pull/251
schemars = { version = "0.8.19", package = "ckb_schemars" }
schemars.workspace = true

[dev-dependencies]
reqwest = { version = "0.12", features = ["blocking", "json"] }
Expand Down
2 changes: 1 addition & 1 deletion util/fixed-hash/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repository = "https://github.com/nervosnetwork/ckb"
thiserror = "1.0.22"
serde = { version = "1.0", features = ["derive"] }
faster-hex = "0.6"
schemars = { version = "0.8.19", package = "ckb_schemars" }
schemars.workspace = true


[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion util/jsonrpc-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ckb-types = { path = "../types", version = "= 0.200.0-pre" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
faster-hex = "0.6"
schemars = { version = "0.8.19", package = "ckb_schemars" }
schemars.workspace = true


[dev-dependencies]
Expand Down

0 comments on commit 3310c29

Please sign in to comment.