[package]
name = "ckb"
version = "0.38.0"
license = "MIT"
authors = ["Nervos Core Dev <dev@nervos.org>"]
edition = "2018"
build = "build.rs"
description = "TODO(doc): @doitian crate description"
homepage = "https://github.com/nervosnetwork/ckb"
repository = "https://github.com/nervosnetwork/ckb"
[build-dependencies]
ckb-build-info = { path = "util/build-info", version = "= 0.38.0" }
[dependencies]
ckb-build-info = { path = "util/build-info", version = "= 0.38.0" }
ckb-bin = { path = "ckb-bin", version = "= 0.38.0" }
[dev-dependencies]
[workspace]
members = [
"util",
"util/occupied-capacity/core",
"util/channel",
"util/fixed-hash/core",
"util/build-info",
"util/logger",
"util/logger-config",
"util/metrics",
"util/metrics-config",
"util/hash",
"util/rational",
"util/runtime",
"util/rust-unstable-port",
"benches",
"util/occupied-capacity/macros",
"util/fixed-hash/macros",
"util/logger-service",
"util/stop-handler",
"util/metrics-service",
"util/fixed-hash",
"util/occupied-capacity",
"util/crypto",
"error",
"util/multisig",
"util/types",
"util/jsonrpc-types",
"util/fee-estimator",
"resource",
"pow",
"util/dao/utils",
"traits",
"spec",
"util/proposal-table",
"script",
"util/app-config",
"db",
"network",
"miner",
"notify",
"util/memory-tracker",
"db-migration",
"util/network-alert",
"store",
"util/chain-iter",
"util/test-chain-utils",
"util/dao",
"util/reward-calculator",
"util/snapshot",
"verification",
"tx-pool",
"shared",
"chain",
"indexer",
"sync",
"util/instrument",
"rpc",
"ckb-bin"
]
[profile.release]
overflow-checks = true
[target.'cfg(all(not(target_env = "msvc"), not(target_os="macos")))'.dependencies]
jemallocator = { version = "0.3.0", features = ["unprefixed_malloc_on_supported_platforms"] }
[features]
default = []
deadlock_detection = ["ckb-bin/deadlock_detection"]
profiling = ["jemallocator/profiling", "ckb-bin/profiling"]
[patch.crates-io]
metrics = { git = "https://github.com/nervosnetwork/metrics-rs", tag = "metrics-runtime-v0.13.1-patch.1" }
metrics-runtime = { git = "https://github.com/nervosnetwork/metrics-rs", tag = "metrics-runtime-v0.13.1-patch.1" }
metrics-core = { git = "https://github.com/nervosnetwork/metrics-rs", tag = "metrics-runtime-v0.13.1-patch.1" }
sentry = { git = "https://github.com/nervosnetwork/sentry-rust", tag = "sentry-v0.17.0-patch.1" }