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

rubenvy

Support for Ruby-style dotenv loading priorities utilizing dotenvy

2 releases

0.1.1 Aug 6, 2024
0.1.0 Aug 6, 2024

#889 in Configuration

Download history 2/week @ 2024-12-04 7/week @ 2024-12-11 1/week @ 2024-12-18 1/week @ 2025-01-22 27/week @ 2025-01-29 12/week @ 2025-02-05 15/week @ 2025-02-12 6/week @ 2025-02-19 20/week @ 2025-02-26

66 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