[package]
edition = "2021"
name = "vote-commitment-tree-client"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP client and CLI for syncing and verifying the vote commitment tree against a running Zcash shielded-voting chain node."
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/valargroup/zcash_voting"
[features]
cli = [
"http",
"dep:bytes",
"dep:clap",
"dep:http-body-util",
"dep:hyper",
"dep:hyper-rustls",
"dep:hyper-util",
"dep:tokio",
]
default = []
http = []
[lib]
name = "vote_commitment_tree_client"
path = "src/lib.rs"
[[bin]]
name = "vote-tree-cli"
path = "src/main.rs"
required-features = ["cli"]
[[test]]
name = "mock_server_tests"
path = "tests/mock_server_tests.rs"
[dependencies.base64]
version = "0.22"
[dependencies.bytes]
version = "1"
optional = true
[dependencies.clap]
version = "4"
features = ["derive"]
optional = true
[dependencies.ff]
version = "0.13"
[dependencies.hex]
version = "0.4"
[dependencies.http-body-util]
version = "0.1"
optional = true
[dependencies.hyper]
version = "1"
features = [
"client",
"http1",
"http2",
]
optional = true
[dependencies.hyper-rustls]
version = "0.27"
features = [
"http1",
"http2",
"ring",
"webpki-roots",
]
optional = true
default-features = false
[dependencies.hyper-util]
version = "0.1"
features = [
"client-legacy",
"http1",
"http2",
"tokio",
]
optional = true
[dependencies.pasta_curves]
version = "0.5"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["rt-multi-thread"]
optional = true
[dependencies.vote-commitment-tree]
version = "0.2"