Skip to content

Commit

Permalink
use ckb_schemars for temporary fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyukang committed Feb 6, 2024
1 parent 663f1cc commit f2d9cf5
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 30 deletions.
54 changes: 28 additions & 26 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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,6 +10,6 @@ repository = "https://github.com/nervosnetwork/ckb"

[dependencies]
ckb-rpc ={ path = "../../../rpc", version = "= 0.114.0-pre" }
schemars = { git = "https://github.com/chenyukang/schemars", branch = "fix-derive" }
schemars = { version = "0.8.16", package = "ckb_schemars" }
serde_json = "~1.0"
tera = "1"
2 changes: 1 addition & 1 deletion rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ tower-http = { version = "0.3.5", features = ["timeout", "cors"] }
async-stream = "0.3.3"
ckb-async-runtime = { path = "../util/runtime", version = "= 0.114.0-pre" }
# issue tracking: https://github.com/GREsau/schemars/pull/251
schemars = { git = "https://github.com/chenyukang/schemars", branch = "fix-derive" }
schemars = { version = "0.8.16", package = "ckb_schemars" }

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



[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion util/jsonrpc-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ ckb-types = { path = "../types", version = "= 0.114.0-pre" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
faster-hex = "0.6"
schemars = { git = "https://github.com/chenyukang/schemars", branch = "fix-derive"}
schemars = { version = "0.8.16", package = "ckb_schemars" }


[dev-dependencies]
proptest = "1.0"
Expand Down

0 comments on commit f2d9cf5

Please sign in to comment.