verifiable 0.3.0

Interface for cryptographic proof of membership of a set with known members
Documentation
# 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 = "verifiable"
version = "0.3.0"
authors = ["Parity Technologies <admin@parity.io>"]
build = false
exclude = [
    "src/ring/data/bls12-381/zcash-srs-2-16-uncompressed.bin",
    "tests/fixtures",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Interface for cryptographic proof of membership of a set with known members"
readme = "README.md"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
repository = "https://github.com/paritytech/verifiable.git"

[features]
builder-params = []
default = ["std"]
mock = ["sha2"]
no-std-prover = [
    "prover",
    "getrandom_or_panic/getrandom",
    "getrandom/custom",
]
prover = []
secret-split = ["ark-vrf/secret-split"]
std = [
    "prover",
    "secret-split",
    "bounded-collections/std",
    "parity-scale-codec/std",
    "scale-info/std",
    "ark-serialize/std",
    "ark-scale/std",
    "ark-vrf/std",
    "ark-vrf/parallel",
    "sha2?/std",
]

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

[[example]]
name = "generate_test_keys"
path = "utils/generate_test_keys.rs"

[[test]]
name = "no_std_prover"
path = "tests/no_std_prover.rs"
required-features = [
    "no-std-prover",
    "builder-params",
]

[dependencies.ark-scale]
version = "0.0.14"
default-features = false

[dependencies.ark-serialize]
version = "0.6"
features = ["derive"]
default-features = false

[dependencies.ark-vrf]
version = "0.5.3"
features = [
    "bandersnatch",
    "ring",
]
default-features = false

[dependencies.bounded-collections]
version = "0.3.2"
features = ["scale-codec"]
default-features = false

[dependencies.getrandom]
version = "0.2"
optional = true
default-features = false

[dependencies.getrandom_or_panic]
version = "0.0.3"
optional = true
default-features = false

[dependencies.parity-scale-codec]
version = "3.7.4"
features = [
    "derive",
    "max-encoded-len",
]
default-features = false

[dependencies.scale-info]
version = "2.11"
features = ["derive"]
default-features = false

[dependencies.sha2]
version = "0.10"
optional = true
default-features = false

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

[dependencies.spin]
version = "0.9"
features = ["once"]
default-features = false

[dev-dependencies.paste]
version = "1.0"

[dev-dependencies.rand]
version = "0.8"
features = ["getrandom"]

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

[dev-dependencies.wasmi]
version = "0.40"