Skip to main content

vouch_core/
lib.rs

1//! Vouch Protocol canonical core.
2//!
3//! One byte-exact Rust implementation of the protocol primitives (JCS
4//! canonicalization, Ed25519 and ML-DSA proofs, did:key/multikey, Data Integrity
5//! eddsa-jcs-2022, credentials, delegation, revocation), shared by every language
6//! SDK through WASM and UniFFI/C-FFI so that no primitive is re-derived per
7//! language. Behavior MUST match the TypeScript reference SDK byte-for-byte and
8//! pass the shared interop vectors in `test-vectors/`.
9
10pub mod attenuation;
11pub mod authority_state;
12pub mod credentials;
13pub mod data_integrity;
14pub mod delegation;
15pub mod did_web;
16pub mod error;
17pub mod hybrid;
18pub mod jcs;
19pub mod keys;
20pub mod mldsa_check;
21pub mod multikey;
22pub mod pq;
23pub mod reasoning;
24pub mod recovery;
25pub mod recovery_json;
26pub mod robotics;
27pub mod robotics_dtn;
28pub mod robotics_json;
29pub mod root_of_trust;
30pub mod status_list;
31pub mod threshold;
32pub mod threshold_json;
33pub mod time;
34
35pub use error::{CoreError, Result};