[package]
edition = "2021"
name = "vouch-core"
version = "4.2.0"
authors = ["Ramprasad Anandam Gaddam"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Vouch Protocol canonical core: JCS canonicalization, Ed25519 + ML-DSA proofs, did:key/multikey, Data Integrity (eddsa-jcs-2022), credentials, delegation, revocation. One byte-exact implementation shared by every language SDK via WASM and UniFFI/C-FFI."
readme = false
license = "Apache-2.0"
repository = "https://github.com/vouch-protocol/vouch"
[features]
alloc = []
default = ["std"]
std = [
"alloc",
"serde/std",
"serde_json/std",
"serde_json/preserve_order",
"serde_json/unbounded_depth",
"ed25519-dalek/std",
"ed25519-dalek/fast",
"fips204/default-rng",
"slh-dsa/default",
"sha2/std",
"sha3/std",
"bs58/std",
"base64/std",
"aes-gcm/getrandom",
"rand_core/getrandom",
"dep:flate2",
"dep:getrandom",
"dep:frost-ed25519",
]
[lib]
name = "vouch_core"
crate-type = ["lib"]
path = "src/lib.rs"
[[example]]
name = "gen_pq_vectors"
path = "examples/gen_pq_vectors.rs"
[[example]]
name = "generate_eddsa_vector"
path = "examples/generate_eddsa_vector.rs"
[[example]]
name = "robotics_evidence_pack"
path = "examples/robotics_evidence_pack.rs"
[[example]]
name = "robotics_vla_accountability_loop"
path = "examples/robotics_vla_accountability_loop.rs"
[[example]]
name = "sign_for_interop"
path = "examples/sign_for_interop.rs"
[[test]]
name = "interop_authority_state"
path = "tests/interop_authority_state.rs"
[[test]]
name = "interop_delegation"
path = "tests/interop_delegation.rs"
[[test]]
name = "interop_delegation_chain"
path = "tests/interop_delegation_chain.rs"
[[test]]
name = "interop_delegation_flat"
path = "tests/interop_delegation_flat.rs"
[[test]]
name = "interop_did_webvh"
path = "tests/interop_did_webvh.rs"
[[test]]
name = "interop_eddsa_vector"
path = "tests/interop_eddsa_vector.rs"
[[test]]
name = "interop_heartbeat_equivocation"
path = "tests/interop_heartbeat_equivocation.rs"
[[test]]
name = "interop_intent_recheck"
path = "tests/interop_intent_recheck.rs"
[[test]]
name = "interop_issuance"
path = "tests/interop_issuance.rs"
[[test]]
name = "interop_jcs"
path = "tests/interop_jcs.rs"
[[test]]
name = "interop_keys"
path = "tests/interop_keys.rs"
[[test]]
name = "interop_pq"
path = "tests/interop_pq.rs"
[[test]]
name = "interop_pq_suites"
path = "tests/interop_pq_suites.rs"
[[test]]
name = "interop_proof_set"
path = "tests/interop_proof_set.rs"
[[test]]
name = "interop_proofs"
path = "tests/interop_proofs.rs"
[[test]]
name = "interop_recovery"
path = "tests/interop_recovery.rs"
[[test]]
name = "interop_replay_key"
path = "tests/interop_replay_key.rs"
[[test]]
name = "interop_replica_grant"
path = "tests/interop_replica_grant.rs"
[[test]]
name = "interop_robotics_binding"
path = "tests/interop_robotics_binding.rs"
[[test]]
name = "interop_robotics_dtn"
path = "tests/interop_robotics_dtn.rs"
[[test]]
name = "interop_robotics_edge"
path = "tests/interop_robotics_edge.rs"
[[test]]
name = "interop_robotics_parity"
path = "tests/interop_robotics_parity.rs"
[[test]]
name = "interop_status"
path = "tests/interop_status.rs"
[[test]]
name = "interop_time"
path = "tests/interop_time.rs"
[[test]]
name = "interop_trust_policy"
path = "tests/interop_trust_policy.rs"
[[test]]
name = "interop_verify_decision"
path = "tests/interop_verify_decision.rs"
[[test]]
name = "no_std_deep_values"
path = "tests/no_std_deep_values.rs"
[[test]]
name = "no_std_path"
path = "tests/no_std_path.rs"
[[test]]
name = "robotics_call_options"
path = "tests/robotics_call_options.rs"
[[test]]
name = "robotics_examples_flow"
path = "tests/robotics_examples_flow.rs"
[[test]]
name = "robotics_pq_raw_key"
path = "tests/robotics_pq_raw_key.rs"
[[test]]
name = "robotics_round2_hardening"
path = "tests/robotics_round2_hardening.rs"
[[test]]
name = "robotics_segments"
path = "tests/robotics_segments.rs"
[dependencies.aes-gcm]
version = "0.10"
features = [
"aes",
"alloc",
]
default-features = false
[dependencies.base64]
version = "0.22"
features = ["alloc"]
default-features = false
[dependencies.bs58]
version = "0.5"
features = ["alloc"]
default-features = false
[dependencies.ed25519-dalek]
version = "2"
features = [
"alloc",
"zeroize",
]
default-features = false
[dependencies.fips204]
version = "0.4"
features = [
"ml-dsa-44",
"ml-dsa-65",
"ml-dsa-87",
]
default-features = false
[dependencies.flate2]
version = "1"
optional = true
[dependencies.frost-ed25519]
version = "3"
optional = true
[dependencies.getrandom]
version = "0.2"
optional = true
[dependencies.rand_core]
version = "0.6"
default-features = false
[dependencies.ryu-js]
version = "1"
[dependencies.serde]
version = "1"
features = [
"alloc",
"derive",
]
default-features = false
[dependencies.serde_json]
version = "1.0.154"
features = [
"alloc",
"float_roundtrip",
"raw_value",
]
default-features = false
[dependencies.sha2]
version = "0.10"
default-features = false
[dependencies.sha3]
version = "0.10"
default-features = false
[dependencies.slh-dsa]
version = "=0.0.3"
default-features = false
[dependencies.zeroize]
version = "1"
features = ["alloc"]
default-features = false
[dev-dependencies.hex]
version = "0.4"
[profile.dev.package.sha2]
opt-level = 3
[profile.dev.package.slh-dsa]
opt-level = 3