PackageTrack
Sign in Get early access

envconfig

Build a config structure from environment variables without boilerplate.

0.11.1 9.5M downloads/mo #3202 most downloaded on crates.io greyblake/envconfig-rs

What this package is like to depend on

Last release 8 months ago

10 Dec 2025

Ships unpredictably

gaps range from 9 days to 3.3 years

Nearly every release is documented

notes for 14 of 14 stable releases

Nothing withdrawn

no release was ever pulled

8 years old

14 releases · first in 2018

1 release in the last 12 months

see the full history below

Release timeline

14 releases · Aug 2018 to Dec 2025
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 14
  1. 0.11.1 10 Dec 2025
    Release notes
    • [fix] Fully qualify Ok enum variant in the generated code.
    Open source →
  2. 0.11.0 07 Sep 2024
    Release notes
    • [breaking] Nested config fields now needs to be marked with #[envconfig(nested)]
    • Environment variable can be automatically derived from a field name (e.g. db_host will be tried to loaded from DB_HOST env var)
    • Add install step in README
    • Update syn dependency to 2.x.x
    Open source →
  3. 0.10.0 08 Jun 2021
    Release notes
    • Add init_from_hashmap to initialize config from HashMap<String, String> in unit tests
    Open source →
  4. 0.9.1 09 Oct 2020
    Release notes
    • Get rid of thiserror dependency
    Open source →
  5. 0.9.0 05 Oct 2020
    Release notes
    • Use rust edition 2018
    • Make envconfig re-export Envconfig macro from envconfig_derive (no need to use envconfig_derive explicitly anymore)
    • Deprecate init() function in favor of init_from_env()
    Open source →
  6. 0.8.0 31 Mar 2020
    Release notes
    • Update syn, quote and proc-macro2 dependencies to be 1.x.x
    Open source →
  7. 0.7.0 20 Feb 2020
    Release notes
    • Use thiserror for errors
    Open source →
  8. 0.6.0 22 Dec 2019
    Release notes
    • Support nested structures
    Open source →
  9. 0.5.1 16 Apr 2019
    Release notes
    • Fix Result overlapping bug
    Open source →
  10. 0.5.0 25 Sep 2018
    Release notes
    • Support default attribute to specify default values
    Open source →
  11. 0.4.0 22 Sep 2018
    Release notes
    • Support of Option<T> types
    • Rewrite envconfig_derive to use the latests versions of syn and quote crates
    • Improve error messages on panics
    • Add skeptic to generate tests based on README code examples
    Open source →
  12. 0.3.0 16 Sep 2018
    Release notes
    • [breaking] Use envconfig attribute instead of from in the derive macro
    • [breaking] Remove init_or_die() function from Envconfig trait
    • [breaking] In envconfig_derive: rename function envconfig() -> derive()
    • [improvement] Add better documentation to the crate
    Open source →
  13. 0.2.0 12 Sep 2018
    Release notes

    Create symlinks to LICENSE and README

    Open source →
    Release notes
    • [breaking] Use derive macro instead of macro_rules
    Open source →
  14. 0.1.0 18 Aug 2018
    Release notes
    • First public release
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive