# 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.85.1"
name = "orchard"
version = "0.13.1"
authors = [
    "Sean Bowe <ewillbefull@gmail.com>",
    "Jack Grigg <thestr4d@gmail.com>",
    "Daira-Emma Hopwood <daira@jacaranda.org>",
    "Ying Tong Lai",
    "Kris Nuttycombe <kris@nutty.land>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The Orchard shielded transaction protocol"
documentation = "https://docs.rs/orchard"
readme = "README.md"
keywords = ["zcash"]
categories = ["cryptography::cryptocurrencies"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/zcash/orchard"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
    "--html-in-header",
    "katex-header.html",
]

[features]
circuit = [
    "dep:halo2_gadgets",
    "dep:halo2_proofs",
    "std",
]
default = [
    "circuit",
    "multicore",
    "std",
]
dev-graph = [
    "halo2_proofs?/dev-graph",
    "image",
    "plotters",
]
multicore = ["halo2_proofs?/multicore"]
std = [
    "corez/std",
    "group/wnaf-memuse",
    "reddsa/std",
]
test-dependencies = [
    "proptest",
    "rand/std",
]
unstable-frost = []
unstable-voting-circuits = []

[lib]
name = "orchard"
path = "src/lib.rs"
bench = false

[[test]]
name = "builder"
path = "tests/builder.rs"

[[bench]]
name = "circuit"
path = "benches/circuit.rs"
harness = false

[[bench]]
name = "note_decryption"
path = "benches/note_decryption.rs"
harness = false

[[bench]]
name = "small"
path = "benches/small.rs"
harness = false

[dependencies.aes]
version = "0.8"

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

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

[dependencies.corez]
version = "0.1.1"
features = ["alloc"]
default-features = false

[dependencies.ff]
version = "0.13"
default-features = false

[dependencies.fpe]
version = "0.6"
features = ["alloc"]
default-features = false

[dependencies.getset]
version = "0.1"

[dependencies.group]
version = "0.13"

[dependencies.halo2_gadgets]
version = "0.4"
optional = true
default-features = false

[dependencies.halo2_proofs]
version = "0.3"
features = [
    "batch",
    "floor-planner-v1-legacy-pdqsort",
]
optional = true
default-features = false

[dependencies.hex]
version = "0.4"
features = ["alloc"]
default-features = false

[dependencies.image]
version = "0.24"
optional = true

[dependencies.incrementalmerkletree]
version = "0.8.1"

[dependencies.lazy_static]
version = "1"

[dependencies.memuse]
version = "0.2.2"
default-features = false

[dependencies.nonempty]
version = "0.11"
default-features = false

[dependencies.pasta_curves]
version = "0.5"

[dependencies.plotters]
version = "0.3.0"
optional = true

[dependencies.poseidon]
version = "0.1"
package = "halo2_poseidon"

[dependencies.proptest]
version = ">=1.0.0, <1.7.0"
optional = true

[dependencies.rand]
version = "0.8"
default-features = false

[dependencies.rand_core]
version = "0.6"
default-features = false

[dependencies.reddsa]
version = "0.5"
default-features = false

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

[dependencies.sinsemilla]
version = "0.1"

[dependencies.subtle]
version = "2.6"
default-features = false

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

[dependencies.visibility]
version = "0.1.1"

[dependencies.zcash_note_encryption]
version = "0.4"

[dependencies.zcash_spec]
version = "0.2.1"

[dependencies.zip32]
version = "0.2.0"
default-features = false

[dev-dependencies.criterion]
version = "0.4"

[dev-dependencies.halo2_gadgets]
version = "0.4"
features = ["test-dependencies"]

[dev-dependencies.hex]
version = "0.4"

[dev-dependencies.incrementalmerkletree]
version = "0.8.1"
features = ["test-dependencies"]

[dev-dependencies.proptest]
version = ">=1.0.0, <1.7.0"

[dev-dependencies.shardtree]
version = "0.6"

[dev-dependencies.zcash_note_encryption]
version = "0.4"
features = ["pre-zip-212"]

[target."cfg(unix)".dev-dependencies.inferno]
version = "0.11"
features = [
    "multithreaded",
    "nameattr",
]
default-features = false

[target."cfg(unix)".dev-dependencies.pprof]
version = "0.11"
features = [
    "criterion",
    "flamegraph",
]

[profile.bench]
debug = 2

[profile.release]
debug = 2
