baseid_core/
lib.rs

1//! # baseid-core
2//!
3//! Shared types, traits, and error handling for the BaseID digital identity
4//! infrastructure. This crate provides the foundational abstractions used by
5//! all other BaseID crates.
6//!
7//! ## Design Principles
8//!
9//! - All public types implement `serde::Serialize` and `serde::Deserialize`
10//! - Bilingual error messages (EN/FR) for Canadian government compliance
11//! - No cryptographic operations — those live in `baseid-crypto`
12//! - No I/O — this crate is purely types and traits
13
14pub mod claims;
15pub mod credential;
16pub mod error;
17pub mod language;
18pub mod lifecycle;
19pub mod types;
20
21pub use error::{Error, Result};
22pub use language::Language;