Modules§
- billing_
config - config
- fleet_
secrets - Fleet-wide, tenant-agnostic provider API key & config storage.
- vectorstore
- Vector Store Abstraction Layer
Structs§
- Billing
Config - Billing and estimated-cost configuration.
- Collection
Info - Information about a collection.
- Collection
Stats - Statistics about a vector collection.
- Database
Config - Database configuration settings.
- Encrypted
Payload - AES-256-GCM ciphertext with its 96-bit nonce. Stored side-by-side so the loader does not have to track nonces separately.
- Fleet
Secrets - Decrypted, in-memory fleet secrets state. Cheap to clone (it’s an
Arc<ArcSwap<...>>under the hood), so callers can hand the wrapper directly to handlers. - Master
Key - Master-key wrapper that zeroes itself on drop. Cheap to clone via Arc.
- Model
Pricing Config - Pricing for a single runtime provider/model pair.
- Postgres
Service - Cordis Service for postgres availability — runtime check replaces
#[cfg(feature = "postgres")]in handlers. - Provider
Override - In-memory decrypted view of a single provider override row.
- Qdrant
Config - Qdrant vector database configuration.
Enums§
- Fleet
Secrets Error - Fixed-length error type for the fleet-secrets module.
- Vector
Store Provider - Configuration for vector store providers.
Traits§
- Vector
Store - Abstract trait for vector database operations.
Functions§
- decrypt_
api_ key - Decrypt a previously-encrypted payload back to the plaintext API key.
- default_
qdrant_ url - encrypt_
api_ key - Encrypt a UTF-8 plaintext API key. Returns the ciphertext + nonce.
- last_
n_ visible - Return the last
nchars of a key, prefixed with…, for safe display. ReturnsNonefor empty input. - register_
plugins - Register this crate’s loader factories on
reg(manual fallback path).