[package] name = "snarkvm" version = "1.1.0" authors = [ "The Aleo Team " ] description = "A decentralized virtual machine" homepage = "https://aleo.org" repository = "https://github.com/AleoNet/snarkVM" keywords = [ "aleo", "cryptography", "blockchain", "decentralized", "zero-knowledge" ] categories = [ "compilers", "cryptography", "mathematics", "wasm", "web-programming" ] include = [ "Cargo.toml", "vm", "README.md", "LICENSE.md" ] license = "Apache-2.0" edition = "2021" rust-version = "1.81.0" # Attention - Change the MSRV in rust-toolchain and in .circleci/config.yml as well [workspace] members = [ "algorithms", "algorithms/cuda", "circuit", "circuit/account", "circuit/algorithms", "circuit/collections", "circuit/environment", "circuit/environment/witness", "circuit/network", "circuit/program", "circuit/types", "circuit/types/address", "circuit/types/boolean", "circuit/types/field", "circuit/types/group", "circuit/types/integers", "circuit/types/scalar", "circuit/types/string", "console", "console/account", "console/algorithms", "console/collections", "console/network", "console/network/environment", "console/program", "console/types", "console/types/address", "console/types/boolean", "console/types/field", "console/types/group", "console/types/integers", "console/types/scalar", "console/types/string", "curves", "fields", "ledger", "ledger/authority", "ledger/block", "ledger/committee", "ledger/narwhal", "ledger/narwhal/batch-certificate", "ledger/narwhal/batch-header", "ledger/narwhal/data", "ledger/narwhal/subdag", "ledger/narwhal/transmission", "ledger/narwhal/transmission-id", "ledger/puzzle", "ledger/puzzle/epoch", "ledger/query", "ledger/store", "ledger/test-helpers", "metrics", "parameters", "synthesizer", "synthesizer/process", "synthesizer/program", "synthesizer/snark", "utilities", "utilities/derives", "wasm" ] [lib] path = "vm/lib.rs" [[bin]] name = "snarkvm" path = "vm/cli/main.rs" required-features = [ "cli" ] [features] default = [ "circuit", "console", "ledger", "parameters", "synthesizer", "utilities", "cli" ] full = [ "algorithms", "circuit", "console", "curves", "fields", "ledger", "parameters", "synthesizer", "utilities" ] cli = [ "anyhow", "clap", "colored", "dotenvy", "rand", "self_update", "serde_json", "thiserror", "ureq" ] aleo-cli = [ "snarkvm-synthesizer/aleo-cli" ] async = [ "snarkvm-ledger/async", "snarkvm-synthesizer/async" ] cuda = [ "snarkvm-algorithms/cuda" ] history = [ "snarkvm-synthesizer/history" ] parameters_no_std_out = [ "snarkvm-parameters/no_std_out" ] noconfig = [ ] rocks = [ "snarkvm-ledger/rocks", "snarkvm-synthesizer/rocks" ] test = [ "snarkvm-ledger/test" ] test-helpers = [ "snarkvm-ledger/test-helpers" ] timer = [ "snarkvm-ledger/timer" ] algorithms = [ "snarkvm-algorithms" ] circuit = [ "snarkvm-circuit" ] console = [ "snarkvm-console" ] curves = [ "snarkvm-curves" ] fields = [ "snarkvm-fields" ] ledger = [ "snarkvm-ledger" ] metrics = [ "snarkvm-metrics", "snarkvm-ledger/metrics" ] parameters = [ "snarkvm-parameters" ] synthesizer = [ "snarkvm-synthesizer" ] utilities = [ "snarkvm-utilities" ] wasm = [ "snarkvm-wasm" ] test_targets = [ "snarkvm-console/test_targets" ] [dependencies.snarkvm-algorithms] path = "./algorithms" version = "=1.1.0" optional = true [dependencies.snarkvm-circuit] path = "./circuit" version = "=1.1.0" optional = true [dependencies.snarkvm-console] path = "./console" version = "=1.1.0" optional = true [dependencies.snarkvm-curves] path = "./curves" version = "=1.1.0" optional = true [dependencies.snarkvm-fields] path = "./fields" version = "=1.1.0" optional = true [dependencies.snarkvm-ledger] path = "./ledger" version = "=1.1.0" optional = true [dependencies.snarkvm-metrics] path = "./metrics" version = "=1.1.0" optional = true [dependencies.snarkvm-parameters] path = "./parameters" version = "=1.1.0" optional = true [dependencies.snarkvm-synthesizer] path = "./synthesizer" version = "=1.1.0" default-features = false optional = true [dependencies.snarkvm-utilities] path = "./utilities" version = "=1.1.0" optional = true [dependencies.snarkvm-wasm] path = "./wasm" version = "=1.1.0" optional = true [dependencies.anstyle] version = "1" [dependencies.anyhow] version = "1.0.73" optional = true [dependencies.clap] version = "4.4" features = [ "derive", "color" ] optional = true [dependencies.colored] version = "2" optional = true [dependencies.dotenvy] version = "0.15" optional = true [dependencies.indexmap] version = "2.0" features = [ "rayon" ] [dependencies.num-format] version = "0.4.4" [dependencies.once_cell] version = "1.18" [dependencies.parking_lot] version = "0.12" [dependencies.rand] version = "0.8" optional = true [dependencies.rayon] version = "1" [dependencies.self_update] version = "0.38" optional = true [dependencies.serde_json] version = "1.0" optional = true features = [ "preserve_order" ] [dependencies.thiserror] version = "1.0" optional = true [dependencies.ureq] version = "2.7" features = [ "json" ] optional = true [dev-dependencies.bincode] version = "1.3" [dev-dependencies.rusty-hook] version = "0.11.2" [dev-dependencies.tempfile] version = "3.8" [build-dependencies.walkdir] version = "2" [profile.release] opt-level = 3 lto = "thin" incremental = true [profile.bench] opt-level = 3 debug = false rpath = false lto = "thin" incremental = true debug-assertions = false [profile.dev] opt-level = 3 lto = "thin" incremental = true [profile.test] opt-level = 3 lto = "thin" incremental = true debug = true debug-assertions = true