Skip to main content

prikk_object/
lib.rs

1#![forbid(unsafe_code)]
2#![warn(missing_docs)]
3
4//! Object identity and canonical payload definitions for Prikk.
5//!
6//! This crate deliberately does **not** use protobuf bytes for object identity. It implements a
7//! small deterministic canonical encoder seed that can be extended as FDD-03 matures.
8
9pub mod canonical;
10pub mod envelope;
11pub mod id;
12pub mod path;
13pub mod payload;
14pub mod signature;
15
16#[cfg(test)]
17mod object_type_table_binding_gate;
18#[cfg(test)]
19mod vectors;
20
21pub use canonical::{CanonicalEncode, CanonicalWriter, WireType};
22pub use envelope::{ObjectEnvelope, SignatureEnvelopeIssues};
23pub use id::{OBJECT_ID_DOMAIN, ObjectId, ObjectType};
24pub use path::{ascii_fold, is_windows_reserved_name, validate_repo_path};
25pub use payload::*;
26pub use signature::{ED25519_SIGNATURE_LEN, Signature, SignatureAlgorithm, SignerRole};