# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "ckb-std" version = "0.16.4" authors = ["Nervos network"] build = "build.rs" exclude = ["docs"] autobins = false autoexamples = false autotests = false autobenches = false description = "This library contains serveral modules help you write CKB contract with Rust" readme = "README.md" license = "MIT" repository = "https://github.com/nervosnetwork/ckb-std" [package.metadata.docs.rs] features = [ "allocator", "ckb-types", "libc", "calc-hash", "build-with-clang", "dlopen-c", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "ckb_std" path = "src/lib.rs" [[example]] name = "always_failure" path = "examples/always_failure.rs" [[example]] name = "always_success" path = "examples/always_success.rs" [[example]] name = "atomic" path = "examples/atomic.rs" [[example]] name = "type_id" path = "examples/type_id.rs" [dependencies.buddy-alloc] version = "0.6" optional = true [dependencies.ckb-hash] version = "0.119" features = ["ckb-contract"] optional = true default-features = false [dependencies.ckb-types] version = "0.119" optional = true default-features = false package = "ckb-gen-types" [dependencies.ckb-x64-simulator] version = "0.10" optional = true [dependencies.gcd] version = "2.3" [dependencies.log] version = "0.4" optional = true default-features = false [build-dependencies.cc] version = "1.0" [features] allocator = ["buddy-alloc"] build-with-clang = [] calc-hash = ["ckb-types/calc-hash"] default = [ "allocator", "calc-hash", "ckb-types", "dummy-atomic", "libc", ] dlopen-c = ["libc"] dummy-atomic = [] libc = [] log = [ "dep:log", "dummy-atomic", ] native-simulator = ["ckb-x64-simulator"] type-id = [ "ckb-hash", "ckb-types", ]