Skip to content

Commit

Permalink
update std feautre in crate ckb-gen-types.
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanYuan committed Aug 28, 2023
1 parent 4eb4224 commit 5f0304b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions util/gen-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ homepage = "https://github.com/nervosnetwork/ckb"
repository = "https://github.com/nervosnetwork/ckb"

[dev-dependencies]
ckb-hash = {path = "../hash", version = "= 0.112.0-pre"}
ckb-hash = { path = "../hash", version = "= 0.112.0-pre" }

[features]
default = ["std"]
Expand All @@ -20,12 +20,12 @@ check-data = []
# Enable the `serialized-size` extension for CKB contract development in `no-std` env
serialized-size = ["calc-hash"]
# Enable all in `std` env
std = ["molecule/std", "ckb-fixed-hash", "ckb-error", "ckb-occupied-capacity", "numext-fixed-uint"]
std = ["molecule/std", "ckb-hash", "ckb-fixed-hash", "ckb-error", "ckb-occupied-capacity", "numext-fixed-uint"]

[dependencies]
cfg-if = "1.0"
ckb-hash = { path = "../hash", version = "= 0.112.0-pre" }
molecule = { version = "0.7.5", default-features = false }
ckb-hash = { path = "../hash", version = "= 0.112.0-pre", optional = true }
ckb-fixed-hash = { path = "../fixed-hash", version = "= 0.112.0-pre", optional = true }
ckb-error = { path = "../../error", version = "= 0.112.0-pre", optional = true }
ckb-occupied-capacity = { path = "../occupied-capacity", version = "= 0.112.0-pre", optional = true }
Expand Down

0 comments on commit 5f0304b

Please sign in to comment.