envfile-cargo 0.1.1

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: 5.1 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 158.0 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 7s 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 envfile_cargo?

Tính năng envfile_cargo 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 envfile-cargo

envfile