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
Releases
latest 14-
0.11.110 Dec 2025 -
0.11.007 Sep 2024Release notes
Open source →- [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_hostwill be tried to loaded fromDB_HOSTenv var) - Add install step in README
- Update
syndependency to 2.x.x
-
0.10.008 Jun 2021Release notes
Open source →- Add
init_from_hashmapto initialize config fromHashMap<String, String>in unit tests
- Add
-
0.9.109 Oct 2020 -
0.9.005 Oct 2020Release notes
Open source →- 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 ofinit_from_env()
-
0.8.031 Mar 2020 -
0.7.020 Feb 2020 -
0.6.022 Dec 2019 -
0.5.116 Apr 2019 -
0.5.025 Sep 2018 -
0.4.022 Sep 2018Release notes
Open source →- Support of
Option<T>types - Rewrite
envconfig_deriveto use the latests versions ofsynandquotecrates - Improve error messages on panics
- Add
skepticto generate tests based on README code examples
- Support of
-
0.3.016 Sep 2018Release notes
Open source →- [breaking] Use
envconfigattribute instead offromin 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
- [breaking] Use
-
0.2.012 Sep 2018 -
0.1.018 Aug 2018