# 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"
rust-version = "1.81.0"
name = "ckb"
version = "0.200.0"
authors = ["Nervos Core Dev <dev@nervos.org>"]
build = "build.rs"
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CKB is the layer 1 of Nervos Network, a public/permissionless blockchain."
homepage = "https://github.com/nervosnetwork/ckb"
readme = "README.md"
license = "MIT"
repository = "https://github.com/nervosnetwork/ckb"

[profile.bench.build-override]
opt-level = 3

[profile.prod]
lto = true
codegen-units = 1
inherits = "release"

[profile.release]
overflow-checks = true

[profile.release.build-override]
opt-level = 3

[[bin]]
name = "ckb"
path = "src/main.rs"

[dependencies.ckb-bin]
version = "= 0.200.0"

[dependencies.ckb-build-info]
version = "= 0.200.0"

[dependencies.console-subscriber]
version = "0.4.0"
optional = true

[dev-dependencies]

[build-dependencies.ckb-build-info]
version = "= 0.200.0"

[features]
deadlock_detection = ["ckb-bin/deadlock_detection"]
default = []
march-native = ["ckb-bin/march-native"]
portable = ["ckb-bin/portable"]
profiling = [
    "tikv-jemallocator/profiling",
    "ckb-bin/profiling",
]
tokio-trace = ["console-subscriber"]
with_dns_seeding = ["ckb-bin/with_dns_seeding"]
with_sentry = ["ckb-bin/with_sentry"]

[target.'cfg(all(not(target_env = "msvc"), not(target_os="macos")))'.dependencies.tikv-jemallocator]
version = "0.5.0"
features = ["unprefixed_malloc_on_supported_platforms"]