envcast 1.0.0

Short, clear description of what the project does
Documentation

envcast

Crates.io msrv 1.70.0 ci docs

Overview

envcast is a runtime crate that provides utilities to:

  • read environment variables,
  • load values from .env files,
  • parse string values into typed Rust fields.

It is designed to work with the FromEnv derive macro from envcast_derive.

Features

  • Environment variable lookup
  • .env file support
  • Custom .env path via DOTENV_CONFIG_FILE
  • Deterministic value resolution order
  • Field-level default values
  • Zero runtime reflection
  • Works with OnceLock, lazy_static, and once_cell
  • MSRV: Rust 1.70.0

License

MIT