# 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 = "snarkvm-ledger" version = "1.0.0" authors = ["The Aleo Team "] description = "A node ledger for a decentralized virtual machine" homepage = "https://aleo.org" readme = "README.md" keywords = [ "aleo", "cryptography", "blockchain", "decentralized", "zero-knowledge", ] categories = [ "cryptography", "web-programming", ] license = "Apache-2.0" repository = "https://github.com/AleoNet/snarkVM" [[bench]] name = "block" path = "benches/block.rs" harness = false [[bench]] name = "bonded_mapping" path = "benches/bonded_mapping.rs" harness = false [[bench]] name = "transaction" path = "benches/transaction.rs" harness = false [dependencies.aleo-std] version = "0.1.24" default-features = false [dependencies.anyhow] version = "1.0.73" [dependencies.console] version = "=1.0.0" package = "snarkvm-console" [dependencies.indexmap] version = "2.0" features = ["serde"] [dependencies.ledger-authority] version = "=1.0.0" package = "snarkvm-ledger-authority" [dependencies.ledger-block] version = "=1.0.0" package = "snarkvm-ledger-block" [dependencies.ledger-committee] version = "=1.0.0" package = "snarkvm-ledger-committee" [dependencies.ledger-narwhal] version = "=1.0.0" package = "snarkvm-ledger-narwhal" [dependencies.ledger-puzzle] version = "=1.0.0" package = "snarkvm-ledger-puzzle" [dependencies.ledger-query] version = "=1.0.0" features = ["query"] package = "snarkvm-ledger-query" [dependencies.ledger-store] version = "=1.0.0" package = "snarkvm-ledger-store" [dependencies.ledger-test-helpers] version = "=1.0.0" optional = true package = "snarkvm-ledger-test-helpers" [dependencies.parking_lot] version = "0.12" [dependencies.rand] version = "0.8" [dependencies.rayon] version = "1" optional = true [dependencies.synthesizer] version = "=1.0.0" package = "snarkvm-synthesizer" [dependencies.time] version = "0.3" [dependencies.tracing] version = "0.1" [dev-dependencies.bincode] version = "1.3" [dev-dependencies.criterion] version = "0.5" [dev-dependencies.serde_json] version = "1.0" features = ["preserve_order"] [features] async = [ "ledger-narwhal/async", "ledger-query/async", "synthesizer/async", ] default = [ "async", "indexmap/rayon", "rayon", ] metrics = ["ledger-committee/metrics"] rocks = ["ledger-store/rocks"] serial = [ "console/serial", "ledger-authority/serial", "ledger-block/serial", "ledger-committee/serial", "ledger-narwhal/serial", "ledger-puzzle/serial", "ledger-query/serial", "ledger-store/serial", "synthesizer/serial", ] test = [ "console/test", "ledger-block/test", "ledger-store/test", ] test-helpers = [ "ledger-test-helpers", "ledger-committee/test-helpers", "ledger-narwhal/test-helpers", ] timer = ["aleo-std/timer"]