Skip to main content

Crate fnox_core

Crate fnox_core 

Source
Expand description

Core library for fnox: provider implementations, config types, secret resolution.

This crate is the reusable engine underneath the fnox binary. It contains the Provider trait, every provider implementation, the config data types, the secret resolver, the lease backends, and the Fnox convenience API for downstream consumers.

The fnox binary depends on this crate and adds CLI-shaped bits (commands, MCP server, TUI, shell integration, hook-env machinery) on top.

Re-exports§

pub use error::FnoxError;
pub use error::Result;
pub use library::Fnox;

Modules§

auth_prompt
Authentication prompt handling for providers.
config
env
error
http
lease
lease_backends
library
Library convenience API for downstream consumers.
providers
secret_resolver
settings
source_registry
Global registry of config file sources for error reporting with miette.
spanned
Span-tracking wrapper for config values.
suggest
String similarity suggestions for better error messages.
temp_file_secrets