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 fleet;
18pub mod grant_chain;
19pub mod hybrid;
20pub mod jcs;
21pub mod keys;
22pub mod mldsa_check;
23pub mod multikey;
24pub mod pq;
25mod py_printable;
26pub mod reasoning;
27pub mod recovery;
28pub mod recovery_json;
29pub mod robotics;
30pub mod robotics_dtn;
31pub mod robotics_json;
32pub mod root_of_trust;
33pub mod status_list;
34pub mod threshold;
35pub mod threshold_json;
36pub mod time;
37
38pub use error::{CoreError, Result};