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 engine;
11pub mod flow;
12pub mod protocol;
13pub mod store;
14pub mod token;
15
16pub mod aliases;
17
18pub use aliases::*;
19pub use auth::*;
20pub use engine::*;
21pub use flow::*;
22pub use token::*;
23
24#[cfg(feature = "captcha")]
25pub mod captcha;
26#[cfg(feature = "captcha")]
27pub use captcha::{CaptchaProvider, CaptchaVerifier};
28
29#[cfg(test)]
30mod tests;