#env-var #variables #dotenv #environment #loading #priority

rubenvy

Support for Ruby-style dotenv loading priorities utilizing dotenvy

2 releases

0.1.1 Aug 6, 2024
0.1.0 Aug 6, 2024

#475 in Configuration

Download history 166/week @ 2024-08-01 48/week @ 2024-08-08 2/week @ 2024-08-15 1/week @ 2024-08-29 26/week @ 2024-09-12 20/week @ 2024-09-19 36/week @ 2024-09-26 20/week @ 2024-10-03

60 downloads per month

MIT/Apache

4KB
53 lines

Support for Ruby-style dotenv loading priorities utilizing dotenvy.

Example

// Load environment variables with the following priority:
// 1. `.env.development.local`
// 2. `.env.local`
// 3. `.env.development`
// 4. `.env`
rubenvy::rubenvy(Environment::Development).unwrap();

Dependencies

~48KB