fnox_core/lib.rs
1//! Core library for fnox: provider implementations, config types, secret resolution.
2//!
3//! This crate is the reusable engine underneath the `fnox` binary. It contains the
4//! [`Provider`](providers::Provider) trait, every provider implementation, the config
5//! data types, the secret resolver, the lease backends, and the [`Fnox`](library::Fnox)
6//! convenience API for downstream consumers.
7//!
8//! The `fnox` binary depends on this crate and adds CLI-shaped bits (commands, MCP
9//! server, TUI, shell integration, hook-env machinery) on top.
10
11pub mod auth_prompt;
12pub mod config;
13pub mod env;
14pub mod error;
15pub mod http;
16pub(crate) mod keyring_store;
17pub mod lease;
18pub mod lease_backends;
19pub mod library;
20pub mod providers;
21pub mod secret_resolver;
22pub mod settings;
23pub mod source_registry;
24pub mod spanned;
25pub mod suggest;
26pub mod temp_file_secrets;
27
28// Re-export commonly used items
29pub use error::{FnoxError, Result};
30pub use library::Fnox;