#dotenv

cfgloader-core

Core functionality for cfgloader - configuration loading library

5 releases (2 stable)

Uses new Rust 2024

1.0.1 Sep 22, 2025
1.0.0 Sep 5, 2025
0.1.2 Sep 5, 2025
0.1.1 Sep 3, 2025
0.1.0 Sep 3, 2025

#841 in Configuration

22 downloads per month
Used in 2 crates

MIT/Apache

7KB
120 lines

cfgloader-core

Core functionality for CFGLoader

This crate provides the core types, traits, and utilities for the CFGLoader configuration loading library. It is typically not used directly - instead, use the main cfgloader_rs crate which re-exports everything you need.

What's in this crate

  • FromEnv trait for types that can be loaded from environment variables
  • CfgError enum for configuration loading errors
  • Utility functions for parsing and loading environment variables
  • .env file loading support via dotenvy

Usage

This is an internal crate. For usage examples and documentation, please see the main cfgloader_rs crate.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Dependencies

~48KB