[package] name = "casper-node" version = "1.5.8" # when updating, also update 'html_root_url' in lib.rs authors = ["Marc Brinkmann ", "Fraser Hutchison "] edition = "2021" description = "The Casper blockchain node" documentation = "https://docs.rs/casper-node" readme = "README.md" homepage = "https://casperlabs.io" repository = "https://github.com/CasperLabs/casper-node/tree/master/node" license = "Apache-2.0" default-run = "casper-node" exclude = ["proptest-regressions"] [dependencies] ansi_term = "0.12.1" anyhow = "1" aquamarine = "0.1.12" async-trait = "0.1.50" backtrace = "0.3.50" base16 = "0.2.1" base64 = "0.13.0" bincode = "1" bytes = "1.0.1" casper-execution-engine = { version = "7.0.3", path = "../execution_engine" } casper-hashing = { version = "3.0.0", path = "../hashing" } casper-json-rpc = { version = "1.1.0", path = "../json_rpc" } casper-types = { version = "4.0.2", path = "../types", features = ["datasize", "json-schema", "std"] } datasize = { version = "0.2.11", features = ["detailed", "fake_clock-types", "futures-types", "smallvec-types"] } derive_more = "0.99.7" either = { version = "1", features = ["serde"] } enum-iterator = "0.6.0" erased-serde = "0.3.18" fs2 = "0.4.3" futures = "0.3.5" futures-io = "0.3.5" hex-buffer-serde = "0.3.0" hex_fmt = "0.3.0" hostname = "0.3.0" http = "0.2.1" humantime = "2.1.0" hyper = "0.14.26" itertools = "0.10.0" libc = "0.2.66" linked-hash-map = "0.5.3" lmdb-rkv = "0.14" log = { version = "0.4.8", features = ["std", "serde", "kv_unstable"] } num = { version = "0.4.0", default-features = false } num-derive = "0.3.0" num-rational = { version = "0.4.0", features = ["serde"] } num-traits = "0.2.10" num_cpus = "1" once_cell = "1" openssl = "0.10.55" pin-project = "1.0.6" prometheus = "0.12.0" quanta = "0.7.2" rand = "0.8.3" rand_chacha = "0.3.0" regex = "1" rmp-serde = "0.14.4" schemars = { version = "=0.8.5", features = ["preserve_order", "impl_json_schema"] } serde = { version = "1", features = ["derive", "rc"] } serde-big-array = "0.3.0" serde_bytes = "0.11.5" serde_json = { version = "1", features = ["preserve_order"] } serde_repr = "0.1.6" shlex = "1.3.0" signal-hook = "0.3.4" signature = "1" smallvec = { version = "1", features = ["serde"] } static_assertions = "1" stats_alloc = "0.1.8" structopt = "0.3.14" strum = { version = "0.24.1", features = ["strum_macros", "derive"] } sys-info = "0.8.0" tempfile = "3.4.0" thiserror = "1" tokio = { version = "1", features = ["macros", "net", "rt-multi-thread", "sync", "time"] } tokio-openssl = "0.6.1" tokio-serde = { version = "0.8.0", features = ["bincode"] } tokio-stream = { version = "0.1.4", features = ["sync"] } tokio-util = { version = "0.6.4", features = ["codec"] } toml = "0.5.6" tower = { version = "0.4.6", features = ["limit"] } tracing = "0.1.18" tracing-futures = "0.2.5" tracing-subscriber = { version = "0.3.15", features = ["env-filter", "fmt", "json"] } uint = "0.9.0" uuid = { version = "0.8.1", features = ["serde", "v4"] } warp = { version = "0.3.7", features = ["compression"] } wheelbuf = "0.2.0" [build-dependencies] vergen = { version = "8.3.2", default-features = false, features = ["git", "gitoxide"] } [dev-dependencies] assert-json-diff = "2.0.1" assert_matches = "1.5.0" casper-types = { path = "../types", features = ["datasize", "json-schema", "std", "testing"] } fake_instant = "0.4.0" pnet = "0.28.0" pretty_assertions = "0.7.2" proptest = "1.0.0" proptest-derive = "0.3.0" rand_core = "0.6.2" reqwest = { version = "0.11.3", features = ["stream"] } tokio = { version = "1", features = ["test-util"] } [features] failpoints = [] testing = ["casper-types/testing"] vendored-openssl = ["openssl/vendored"] [[bin]] name = "casper-node" path = "src/app/main.rs" bench = false doctest = false test = false [package.metadata.deb] features = ["vendored-openssl"] revision = "0" depends = "curl" assets = [ ["../target/release/casper-node", "/usr/bin/casper-node", "755"], ["../resources/maintainer_scripts/logrotate.d/casper-node", "/etc/logrotate.d/casper-node", "644"], ["../resources/maintainer_scripts/pull_genesis.sh", "/etc/casper/pull_genesis.sh", "755"], ["../resources/maintainer_scripts/delete_local_db.sh", "/etc/casper/delete_local_db.sh", "755"], ["../resources/maintainer_scripts/config_from_example.sh", "/etc/casper/config_from_example.sh", "755"], ["../resources/maintainer_scripts/systemd_pre_start.sh", "/etc/casper/systemd_pre_start.sh", "755"], ["../resources/production/README.md", "/etc/casper/README.md", "644"], ["../resources/production/CHANGE_LOG.md", "/etc/casper/CHANGE_LOG.md", "644"], ["../resources/production/config-example.toml", "/etc/casper/config-example.toml", "644"], ["../resources/production/validator_keys/README.md", "/etc/casper/validator_keys/README.md", "644"] ] maintainer-scripts = "../resources/maintainer_scripts/debian" extended-description = """ Package for Casper Node. For information on using package, see https://github.com/casper-network/casper-node """ [package.metadata.deb.systemd-units] unit-scripts = "../resources/maintainer_scripts/casper_node" restart-after-upgrade = false