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