1#[cfg(all(feature = "ring", feature = "aws-lc-rs"))]
14compile_error!("Enable only one crypto provider feature: `ring` or `aws-lc-rs`.");
15
16#[cfg(not(any(feature = "ring", feature = "aws-lc-rs")))]
17compile_error!("Enable one crypto provider feature: `ring` (default) or `aws-lc-rs`.");
18
19mod crypto;
20
21mod client;
22mod error;
23mod material;
24mod resolve;
25mod server;
26mod types;
27mod verifier;
28
29pub use client::{ClientConfigBuilder, ClientConfigOptions};
30pub use error::{Error, Result};
31pub use server::{ServerConfigBuilder, ServerConfigOptions};
32pub use types::{authorize_any, authorize_exact, AuthorizeSpiffeId};