1#[cfg(not(any(feature = "rustcrypto", feature = "aws-lc")))]
21compile_error!("select exactly one document provider: rustcrypto or aws-lc");
22#[cfg(all(feature = "rustcrypto", feature = "aws-lc"))]
23compile_error!("document provider features are mutually exclusive: select exactly one");
24#[cfg(all(
25 feature = "tsp",
26 not(any(feature = "tls-ring", feature = "tls-aws-lc"))
27))]
28compile_error!("networking requires exactly one TLS provider: tls-ring or tls-aws-lc");
29#[cfg(all(feature = "tls-ring", feature = "tls-aws-lc"))]
30compile_error!("TLS provider features are mutually exclusive: select exactly one");
31
32pub use riptering::{
33 backend_info, capabilities, initialize_backend, supports, BackendId, BackendInfo, Capability,
34 FipsStatus, Operation, TlsBackendId,
35};
36
37pub mod crypto;
39pub mod der_utils;
40pub mod error;
41pub mod trust;
42
43#[cfg(feature = "tsp")]
45pub mod net;
46
47#[cfg(feature = "tsp")]
48pub mod tsp;
49
50#[cfg(feature = "ltv")]
51pub mod ltv;