[package]
name = "ckb-gen-types"
version = "0.119.0"
authors = ["Nervos Core Dev <dev@nervos.org>"]
edition = "2021"
license = "MIT"
description = "Provides the generated types for CKB."
homepage = "https://github.com/nervosnetwork/ckb"
repository = "https://github.com/nervosnetwork/ckb"
[dev-dependencies]
[features]
default = ["std"]
calc-hash = ["ckb-hash/ckb-contract"]
check-data = []
serialized-size = ["calc-hash"]
std = [
"molecule/std",
"ckb-hash/default",
"ckb-fixed-hash",
"ckb-error",
"ckb-occupied-capacity",
"numext-fixed-uint",
]
[dependencies]
cfg-if = "1.0"
molecule = { version = "0.8", default-features = false }
ckb-hash = { path = "../hash", version = "= 0.119.0", default-features = false, optional = true }
ckb-fixed-hash = { path = "../fixed-hash", version = "= 0.119.0", optional = true }
ckb-error = { path = "../../error", version = "= 0.119.0", optional = true }
ckb-occupied-capacity = { path = "../occupied-capacity", version = "= 0.119.0", optional = true }
numext-fixed-uint = { version = "0.1", features = [
"support_rand",
"support_heapsize",
"support_serde",
], optional = true }