Registry / config / kankyo

kankyo

JSON →
library0.3.0rscratesunverified

Simple, efficient, and precise .env library.

# Cargo.toml [dependencies] kankyo = "0.3.0"
INSTALL
IMPORT
SIG · KANKYO
K
kankyo
configrustv0.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

load
use kankyo::load;

Load environment variables from a .env file.

use kankyo::load; load().expect("Failed to load .env file"); let value = std::env::var("MY_VAR").unwrap();
Debug
Known issues
gotchaPanics if .env file is missing or malformed.
fix
Use `load().ok()` or handle the error gracefully.
affects: >=0.3.0
Upgrade
Version history
0.3.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
32 hits · last 30 days
node
28
Amazon
1
Resources
kankyo — cargo add kankyo · libregistry