# 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 = "snarkvm" version = "1.1.0" authors = ["The Aleo Team "] build = false include = [ "Cargo.toml", "vm", "README.md", "LICENSE.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A decentralized virtual machine" homepage = "https://aleo.org" readme = "README.md" keywords = [ "aleo", "cryptography", "blockchain", "decentralized", "zero-knowledge", ] categories = [ "compilers", "cryptography", "mathematics", "wasm", "web-programming", ] license = "Apache-2.0" repository = "https://github.com/AleoNet/snarkVM" [profile.bench] opt-level = 3 lto = "thin" debug = 0 debug-assertions = false rpath = false incremental = true [profile.dev] opt-level = 3 lto = "thin" incremental = true [profile.release] opt-level = 3 lto = "thin" incremental = true [profile.test] opt-level = 3 lto = "thin" debug = 2 debug-assertions = true incremental = true [lib] name = "snarkvm" path = "vm/lib.rs" [[bin]] name = "snarkvm" path = "vm/cli/main.rs" required-features = ["cli"] [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" features = ["preserve_order"] optional = true [dependencies.snarkvm-algorithms] version = "=1.1.0" optional = true [dependencies.snarkvm-circuit] version = "=1.1.0" optional = true [dependencies.snarkvm-console] version = "=1.1.0" optional = true [dependencies.snarkvm-curves] version = "=1.1.0" optional = true [dependencies.snarkvm-fields] version = "=1.1.0" optional = true [dependencies.snarkvm-ledger] version = "=1.1.0" optional = true [dependencies.snarkvm-metrics] version = "=1.1.0" optional = true [dependencies.snarkvm-parameters] version = "=1.1.0" optional = true [dependencies.snarkvm-synthesizer] version = "=1.1.0" optional = true default-features = false [dependencies.snarkvm-utilities] version = "=1.1.0" optional = true [dependencies.snarkvm-wasm] version = "=1.1.0" optional = true [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" [features] aleo-cli = ["snarkvm-synthesizer/aleo-cli"] algorithms = ["snarkvm-algorithms"] async = [ "snarkvm-ledger/async", "snarkvm-synthesizer/async", ] circuit = ["snarkvm-circuit"] cli = [ "anyhow", "clap", "colored", "dotenvy", "rand", "self_update", "serde_json", "thiserror", "ureq", ] console = ["snarkvm-console"] cuda = ["snarkvm-algorithms/cuda"] curves = ["snarkvm-curves"] default = [ "circuit", "console", "ledger", "parameters", "synthesizer", "utilities", "cli", ] fields = ["snarkvm-fields"] full = [ "algorithms", "circuit", "console", "curves", "fields", "ledger", "parameters", "synthesizer", "utilities", ] history = ["snarkvm-synthesizer/history"] ledger = ["snarkvm-ledger"] metrics = [ "snarkvm-metrics", "snarkvm-ledger/metrics", ] noconfig = [] parameters = ["snarkvm-parameters"] parameters_no_std_out = ["snarkvm-parameters/no_std_out"] rocks = [ "snarkvm-ledger/rocks", "snarkvm-synthesizer/rocks", ] synthesizer = ["snarkvm-synthesizer"] test = ["snarkvm-ledger/test"] test-helpers = ["snarkvm-ledger/test-helpers"] test_targets = ["snarkvm-console/test_targets"] timer = ["snarkvm-ledger/timer"] utilities = ["snarkvm-utilities"] wasm = ["snarkvm-wasm"]