1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//! `genai` library - A client library for any AI provider.
//! See [examples/c00-readme.rs](./examples/c00-readme.rs)
// region: --- Modules
// -- Flatten
pub use *;
pub use *;
pub use ;
// -- Public Modules
// endregion: --- Modules
// region: --- TLS Backend Guard
// TLS backends are mutually exclusive (forwarded to reqwest; see Cargo.toml / README).
// Enabling `native-tls` without `default-features = false` leaves `rustls-tls` on from
// the default set; turn that silent mis-selection into a clear compile-time error.
// The "neither feature" case is intentionally allowed — it is the supported
// bring-your-own-client path (`with_reqwest`).
compile_error!;
// endregion: --- TLS Backend Guard