Skip to main content

Module format

Module format 

Source
Expand description

Format detection and backend selection.

Re-exports§

pub use dotenv::load as load_dotenv;
pub use json::load as load_json;
pub use json::save as save_json;
pub use toml::load as load_toml;
pub use toml::save as save_toml;
pub use yaml::load as load_yaml;
pub use yaml::save as save_yaml;

Modules§

dotenv
Source-preserving dotenv backend.
frontmatter
Frontmatter mode: address the leading TOML (+++) or YAML (---) metadata block of a Markdown-ish file as a config document, leaving the body bytes untouched.
ini
INI Core v1: a deliberately small, deterministic INI dialect.
json
JSON format backend (via serde_json).
toml
TOML format backend (format-preserving via toml_edit).
yaml
YAML format backend. Reads via the noyalib Value view; mutates via the lossless cst::Document editor so comments, ordering, styles, and untouched source bytes are preserved.

Enums§

Format