[package]
name = "penumbra-sdk-stake"
authors = {workspace = true}
repository = {workspace = true}
description = "A tokenized/delegated staking implementation for Penumbra"
version = {workspace = true}
license = {workspace = true}
edition = {workspace = true}
[features]
component = [
"cnidarium-component",
"cnidarium",
"penumbra-sdk-proto/cnidarium",
"penumbra-sdk-proto/rpc",
"penumbra-sdk-sct/component",
"penumbra-sdk-shielded-pool/component",
"penumbra-sdk-distributions/component",
"tokio",
"im",
"futures",
"async-trait",
"async-stream",
"tonic",
"metrics",
]
default = ["component"]
docsrs = []
parallel = [
"penumbra-sdk-tct/parallel",
"ark-ff/parallel",
"decaf377-rdsa/parallel",
"ark-groth16/parallel",
"ark-r1cs-std/parallel",
"decaf377/parallel",
]
[dependencies]
anyhow = {workspace = true}
ark-ff = {workspace = true, default-features = false}
ark-groth16 = {workspace = true, default-features = false}
ark-r1cs-std = {workspace = true, default-features = false}
ark-relations = {workspace = true}
ark-serialize = {workspace = true}
ark-snark = {workspace = true}
async-stream = {workspace = true, optional = true}
async-trait = {workspace = true, optional = true}
base64 = {workspace = true}
bech32 = {workspace = true}
bitvec = {workspace = true}
cnidarium = {workspace = true, default-features = false, optional = true}
cnidarium-component = {workspace = true, default-features = false, optional = true}
decaf377 = {workspace = true, features = ["r1cs"], default-features = true}
decaf377-rdsa = {workspace = true}
futures = {workspace = true, optional = true}
hex = {workspace = true}
im = {workspace = true, optional = true}
metrics = {workspace = true, optional = true}
once_cell = {workspace = true}
penumbra-sdk-asset = {workspace = true, default-features = false}
penumbra-sdk-distributions = {workspace = true, default-features = false}
penumbra-sdk-keys = {workspace = true, default-features = false}
penumbra-sdk-num = {workspace = true, default-features = false}
penumbra-sdk-proof-params = {workspace = true, default-features = true}
penumbra-sdk-proto = {workspace = true, default-features = true}
penumbra-sdk-sct = {workspace = true, default-features = false}
penumbra-sdk-shielded-pool = {workspace = true, default-features = false}
penumbra-sdk-tct = {workspace = true, default-features = true}
penumbra-sdk-txhash = {workspace = true, default-features = false}
rand_chacha = {workspace = true}
rand_core = {workspace = true}
regex = {workspace = true}
serde = {workspace = true, features = ["derive"]}
serde_unit_struct = {workspace = true}
serde_with = {workspace = true}
sha2 = {workspace = true}
tap = {workspace = true}
tendermint = {workspace = true, default-features = true}
tokio = {workspace = true, features = ["full", "tracing"], optional = true}
tonic = {workspace = true, optional = true}
tracing = {workspace = true}
[dev-dependencies]
ed25519-consensus = {workspace = true}
proptest = {workspace = true}
rand_chacha = {workspace = true}
tracing-subscriber = {workspace = true}
getrandom = {workspace = true}