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 decision;
15pub mod delegation;
16pub mod did_document;
17pub mod did_web;
18pub mod did_webvh;
19pub mod error;
20pub mod fleet;
21pub mod grant_chain;
22pub mod hybrid;
23pub mod issuance;
24pub mod jcs;
25pub mod keys;
26pub mod lineage;
27pub mod mldsa_check;
28pub mod multikey;
29pub mod pq;
30mod py_printable;
31pub mod reasoning;
32pub mod recovery;
33pub mod recovery_json;
34pub mod robotics;
35pub mod robotics_domain;
36pub mod robotics_dtn;
37pub mod robotics_json;
38pub mod robotics_verify;
39pub mod root_of_trust;
40pub mod status_list;
41pub mod threshold;
42pub mod threshold_json;
43pub mod time;
44pub mod trusted_roots;
45
46pub use error::{CoreError, Result};