did_toolkit/lib.rs
1/// Decentralized Identifier syntax parsing and generation
2pub mod did;
3/// Decentralized Identity Document typing and (de)-serialization
4pub mod document;
5/// JSON Web Key management
6pub mod jwk;
7/// Multibase public key management
8pub mod multibase;
9/// In-Memory Registry for Decentralized Identity Documents, with some database-like features.
10pub mod registry;
11/// String handling routines; not included in prelude, should avoid using publicly.
12pub mod string;
13/// VersionTime [crate::url::URL] parameter handling
14pub mod time;
15/// DID URLs, a way to inter-link to [crate::did::DID]s.
16pub mod url;
17
18/// Convenience module for exporting all public types
19pub mod prelude {
20 // NOTE we did not include the string methods as they will pollute global namespace poorly
21 pub use crate::{did::*, document::*, jwk::*, multibase::*, registry::*, time::*, url::*};
22}