ai_usagebar/custom/mod.rs
1//! User-defined HTTP providers: a URL, a static token, and JSON pointers.
2//!
3//! Configured as `[[custom]]` tables (see `config::CustomProviderConfig`).
4//! Everything vendor-specific that a built-in provider hard-codes — endpoint,
5//! auth header, response schema — is data here, which is why the module has
6//! a `mapping` where the others have a `types` mirroring an upstream API.
7
8pub mod fetch;
9pub mod mapping;
10pub mod types;
11pub mod vendor;
12
13pub use fetch::fetch_snapshot;