-
Notifications
You must be signed in to change notification settings - Fork 91
/
Copy pathlib.rs
41 lines (35 loc) · 955 Bytes
/
lib.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Copyright 2020-2023 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0
#![forbid(unsafe_code)]
#![doc = include_str!("./../README.md")]
#![warn(
rust_2018_idioms,
unreachable_pub,
missing_docs,
rustdoc::missing_crate_level_docs,
rustdoc::broken_intra_doc_links,
rustdoc::private_intra_doc_links,
rustdoc::private_doc_tests,
clippy::missing_safety_doc
)]
#[cfg(feature = "credential")]
pub mod credential;
#[cfg(feature = "domain-linkage")]
pub mod domain_linkage;
pub mod error;
#[cfg(feature = "presentation")]
pub mod presentation;
#[cfg(feature = "revocation-bitmap")]
pub mod revocation;
mod utils;
#[cfg(feature = "validator")]
pub mod validator;
/// Implementation of the SD-JWT VC token specification.
#[cfg(feature = "sd-jwt-vc")]
pub mod sd_jwt_vc;
pub use error::Error;
pub use error::Result;
#[cfg(feature = "sd-jwt")]
pub use sd_jwt_payload;
#[cfg(feature = "sd-jwt-vc")]
pub use sd_jwt_payload_rework as sd_jwt_v2;