allan2 / dotenvy

A well-maintained fork of the Rust dotenv crate
MIT License
625 stars 39 forks source link

Consider adding async API? #75

Closed xixixao closed 1 year ago

xixixao commented 1 year ago

For folks running inside async environment reading a from a file should be an async operation?

allan2 commented 1 year ago

This crate is pretty small. I'm not against async but I have doubts whether the added complexity will make any difference in the real world.

Perhaps my opinion will change as the async ecosystem develops -> https://github.com/rust-lang/wg-async/issues/49