envcast

Crates.ioenvcast
lib.rsenvcast
version1.0.0
created_at2025-12-28 06:05:36.923577+00
updated_at2025-12-28 06:05:36.923577+00
descriptionShort, clear description of what the project does
homepagehttps://github.com/neamaddin/envcast
repositoryhttps://github.com/neamaddin/envcast
max_upload_size
id2008288
size32,936
Neamaddin Akhmedov (neamaddin)

documentation

README

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

Commit count: 0

cargo fmt