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