# 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 = "2024"
name = "snarkos-node-cdn"
version = "4.6.2"
authors = ["The Aleo Team <hello@aleo.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A CDN client for a decentralized operating system"
homepage = "https://aleo.org"
readme = "README.md"
keywords = [
    "aleo",
    "cryptography",
    "blockchain",
    "decentralized",
    "zero-knowledge",
]
categories = [
    "cryptography",
    "cryptography::cryptocurrencies",
    "os",
]
license = "Apache-2.0"
repository = "https://github.com/ProvableHQ/snarkOS"

[package.metadata.cargo-machete]
ignored = ["serde"]

[features]
cuda = ["snarkvm/cuda"]
default = []
locktick = [
    "dep:locktick",
    "snarkvm/locktick",
    "snarkos-node-metrics/locktick",
    "snarkos-utilities/locktick",
]
metrics = ["dep:snarkos-node-metrics"]
serial = [
    "snarkos-node-metrics/locktick",
    "snarkvm/serial",
]

[lib]
name = "snarkos_node_cdn"
path = "src/lib.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.bincode]
version = "1"

[dependencies.colored]
version = "3"

[dependencies.http]
version = "1"

[dependencies.locktick]
version = "0.5"
features = ["parking_lot"]
optional = true

[dependencies.parking_lot]
version = "0.12"

[dependencies.rayon]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = ["rustls-tls"]

[dependencies.serde]
version = "1"
default-features = false

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dependencies.snarkos-node-metrics]
version = "=4.6.2"
features = ["metrics"]
optional = true

[dependencies.snarkos-utilities]
version = "=4.6.2"

[dependencies.snarkvm]
version = "=4.6.2"
features = [
    "console",
    "ledger",
    "utilities",
]
default-features = false

[dependencies.tokio]
version = "1.48"
features = ["rt"]

[dependencies.tracing]
version = "0.1"
default-features = false

[dev-dependencies.tokio]
version = "1.48"
features = [
    "rt",
    "rt-multi-thread",
]

[dev-dependencies.tokio-test]
version = "0.4"
