dotenv-rs / dotenv

Library to help supply environment variables in testing and development
MIT License
557 stars 85 forks source link

Native proc_macro #72

Open ta-vroom opened 2 years ago

ta-vroom commented 2 years ago

With Rust 1.45 #[proc_macro_hack] is no longer required as #[proc_macro] has a native implementation (it also results in an annoying unresolved-macro-call error.

Consider futures-macro's implementation for supporting older Rust compilers.

voidpumpkin commented 2 years ago

@ZoeyR Could you take a look at this? It is very distracting to see the proc macro error in IDE

hoijui commented 2 years ago

This is fixed in the new repo: https://github.com/allan2/dotenvy

stevenhansel commented 2 years ago

https://github.com/allan2/dotenvy

While this repo is not maintained anymore, I don't see that the problem is fixed yet in the fork

hoijui commented 2 years ago

To be honest... I tried to figure out why I wrote that here, and I guess I just posted in the wrong issue (meant to post in #63). So.. you are right, sorry! (even #63 is only fixed in a reworked PR though, not merged)