Packages / rupm

rs-config-env-file 0.1.0

Parse .env files: quotes, export, comments, escapes and variable expansion

Install

cargo add rs-config-env-file --registry rupm

In Ruststudio: Packages, search for rs-config-env-file, Install.

Owner: Rust Studio. Licence: MIT OR Apache-2.0. Total downloads: 0. Published 2026-11-23.

Versions

README

# rs-config-env-file

Parse .env files: quotes, export, comments, escapes and variable expansion

Add it with `rupm add rs-config-env-file` (or `cargo add rs-config-env-file --registry rupm`).

```rust
let vars = rs_config_env_file::parse("A=1\nexport B=\"two words\"\n# comment\n")?;
assert_eq!(vars[1], ("B".to_string(), "two words".to_string()));
```