Skip to main content

authkestra_engine/
lib.rs

1// The outbound HTTP client needs a TLS backend. Fail loudly at compile time
2// rather than letting `reqwest::Client::new()` panic at runtime.
3#[cfg(not(any(feature = "rustls-aws-lc-rs", feature = "rustls-no-provider")))]
4compile_error!(
5    "authkestra-engine needs a TLS backend: enable the `rustls-aws-lc-rs` feature (the default) \
6     or the `rustls-no-provider` feature and install a `rustls::CryptoProvider` yourself."
7);
8
9pub mod auth;
10pub mod client_assertion;
11pub mod engine;
12pub mod flow;
13pub mod protocol;
14pub mod store;
15pub mod token;
16
17pub mod aliases;
18
19pub use aliases::*;
20pub use auth::*;
21pub use engine::*;
22pub use flow::*;
23pub use token::*;
24
25#[cfg(feature = "captcha")]
26pub mod captcha;
27#[cfg(feature = "captcha")]
28pub use captcha::{CaptchaProvider, CaptchaVerifier};
29
30#[cfg(test)]
31mod tests;