[package] name = "ckb-script" version = "0.120.0" license = "MIT" authors = ["Nervos Core Dev "] edition = "2021" build = "build.rs" description = "CKB component to run the type/lock scripts." homepage = "https://github.com/nervosnetwork/ckb" repository = "https://github.com/nervosnetwork/ckb" [features] default = ["logging", "detect-asm"] asm = ["ckb-vm/asm"] detect-asm = ["ckb-vm/detect-asm"] logging = ["ckb-logger"] flatmemory = [] [dependencies] ckb-traits = { path = "../traits", version = "= 0.120.0" } byteorder = "1.3.1" ckb-types = { path = "../util/types", version = "= 0.120.0" } ckb-hash = { path = "../util/hash", version = "= 0.120.0" } ckb-vm = { version = "= 0.24.12", default-features = false } faster-hex = "0.6" ckb-logger = { path = "../util/logger", version = "= 0.120.0", optional = true } serde = { version = "1.0", features = ["derive"] } ckb-error = { path = "../error", version = "= 0.120.0" } ckb-chain-spec = { path = "../spec", version = "= 0.120.0" } tokio = { version = "1.35.0", features = ["sync", "macros"] } [target.'cfg(not(target_family = "wasm"))'.dependencies] tokio = { version = "1.35.0", features = ["rt-multi-thread"] } [dev-dependencies] [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_asm)'] }