ckb-std 1.0.2

This library contains serveral modules help you write CKB contract with Rust
# 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 = "2024"
name = "ckb-std"
version = "1.0.2"
authors = ["Nervos network"]
build = "build.rs"
exclude = ["docs"]
autolib = false
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"
resolver = "2"

[package.metadata.docs.rs]
features = [
    "allocator",
    "ckb-types",
    "libc",
    "calc-hash",
    "build-with-clang",
    "dlopen-c",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[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"]
stub-c-syscalls = ["stub-syscalls"]
stub-syscalls = []
type-id = [
    "ckb-hash",
    "ckb-types",
]

[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 = "1.0.0"
features = ["ckb-contract"]
optional = true
default-features = false

[dependencies.ckb-types]
version = "1.0.0"
optional = true
default-features = false
package = "ckb-gen-types"

[dependencies.ckb-x64-simulator]
version = "1.0.0"
optional = true

[dependencies.gcd]
version = "2.3"

[dependencies.int-enum]
version = "1.2.0"

[dependencies.log]
version = "0.4"
optional = true
default-features = false

[build-dependencies.cc]
version = "1.0"