# 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.66"
name = "snarkos"
version = "2.1.0"
authors = ["The Aleo Team <hello@aleo.org>"]
description = "A decentralized operating system"
homepage = "https://aleo.org"
readme = "README.md"
keywords = [
    "aleo",
    "cryptography",
    "blockchain",
    "decentralized",
    "zero-knowledge",
]
categories = [
    "cryptography",
    "operating-systems",
]
license = "Apache-2.0"
repository = "https://github.com/AleoHQ/snarkOS"

[profile.bench]
opt-level = 3
lto = "thin"
debug = false
debug-assertions = false
rpath = false
incremental = true

[profile.dev]
opt-level = 2
lto = "thin"
incremental = true

[profile.release]
opt-level = 3
lto = "thin"
incremental = true

[profile.test]
opt-level = 2
lto = "thin"
debug = true
debug-assertions = true
incremental = true

[[bin]]
name = "snarkos"
path = "snarkos/main.rs"

[dependencies.anyhow]
version = "1.0.70"

[dependencies.clap]
version = "4.3"
features = ["derive"]

[dependencies.once_cell]
version = "1"

[dependencies.snarkos-account]
version = "=2.1.0"

[dependencies.snarkos-cli]
version = "=2.1.0"

[dependencies.snarkos-display]
version = "=2.1.0"

[dependencies.snarkos-node]
version = "=2.1.0"

[dependencies.snarkos-node-cdn]
version = "=2.1.0"

[dependencies.snarkos-node-consensus]
version = "=2.1.0"

[dependencies.snarkos-node-env]
version = "=2.1.0"

[dependencies.snarkos-node-messages]
version = "=2.1.0"

[dependencies.snarkos-node-rest]
version = "=2.1.0"

[dependencies.snarkos-node-router]
version = "=2.1.0"

[dependencies.snarkos-node-tcp]
version = "=2.1.0"

[dependencies.tikv-jemallocator]
version = "0.5"
optional = true

[dev-dependencies.rusty-hook]
version = "0.11.2"

[build-dependencies.walkdir]
version = "2"

[features]
jemalloc = ["tikv-jemallocator"]
