dpp_vc/jsonld/mod.rs
1//! Minimal JSON-LD context builder for DPP passport payloads.
2//!
3//! Intentionally small and flat: three cohesive functions (build/frame/strip
4//! the `@context` envelope), not a growing vocabulary layer. If this module
5//! starts accumulating per-vocabulary mapping logic, split it then — until
6//! then, one file is the right size.
7
8mod context;
9#[cfg(test)]
10mod tests;
11
12pub use context::{
13 REMOTE_CONTEXTS, context_value, frame_passport, passport_context, strip_context,
14};