simple_env_load

Crates.iosimple_env_load
lib.rssimple_env_load
version0.2.0
sourcesrc
created_at2020-03-20 19:38:16.666548
updated_at2021-11-14 03:46:00.366011
descriptiona simple .env loader without any deps.
homepage
repositoryhttps://github.com/museun/simple_env_load
max_upload_size
id220773
size7,767
(museun)

documentation

https://docs.rs/simple_env_load/latest/simple_env_load

README

simple_env_load

Documentation Crates Actions

A simple .env file loader

Description

Giving a sequence of env files from most general to most specific.

Operation

Parse each file for key val remove any comments blank lines and extra whitespace.

Syntax

TEST_DATA=bar       # spaces are optional
## this is a comment
TEST_baz = "baz"    # double quotes are removed
## above line was left intentionally blank

will produce:

Key Value

TEST_DATA|bar TEST_baz|baz

License: 0BSD

Commit count: 9

cargo fmt