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_call;
36pub mod robotics_domain;
37pub mod robotics_dtn;
38pub mod robotics_json;
39pub mod robotics_prepare;
40pub mod robotics_segment;
41pub mod robotics_verify;
42pub mod root_of_trust;
43pub mod session_voucher;
44pub mod slh;
45pub mod status_list;
46pub mod threshold;
47pub mod threshold_json;
48pub mod time;
49
50pub use error::{CoreError, Result};