envfile-cargo 0.1.0

A super fast and lightweight .env loader for Rust
Documentation
  • Coverage
  • 0%
    0 out of 6 items documented0 out of 3 items with examples
  • Size
  • Source code size: 4.9 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.3 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 15s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • KhaiNguyenHoang/envfile
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • KhaiNguyenHoang

awesome_env

Zero-dependency, blazingly fast .env file loader for Rust
Không cần dotenvy, không cần std::env::set_var, chỉ cần một dòng là load xong!

Crates.io Downloads License Docs

Tại sao nên dùng awesome_env?

Tính năng awesome_env dotenvy crate
Zero dependencies Yes No
Hỗ trợ comment # Yes Yes
Hỗ trợ giá trị chứa = Yes Yes
Trim khoảng trắng tự động Yes Yes
Không tự động ghi đè std::env Yes (an toàn hơn) No (có thể gây side-effect)
Dễ test, dễ kiểm soát Yes Yes
Tốc độ (blazingly fast) Yes Yes

Cài đặt

cargo add awesome_env

envfile