# 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"
name = "pir-types"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared wire types and tier-layout constants for the vote-nullifier-pir subsystem (YPIR-based non-membership proofs over a 51M-entry Zcash nullifier set)."
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/valargroup/vote-nullifier-pir"

[features]
default = []
reader = [
    "dep:pasta_curves",
    "dep:ff",
    "dep:anyhow",
    "dep:imt-tree",
]

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

[dependencies.anyhow]
version = "1.0"
optional = true

[dependencies.ff]
version = "0.13"
optional = true

[dependencies.imt-tree]
version = "0.1"
optional = true

[dependencies.pasta_curves]
version = "0.5"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]
