allan2 / dotenvy

A well-maintained fork of the dotenv crate
MIT License
708 stars 45 forks source link

Remove proc_macro_hack #43

Closed sonro closed 1 year ago

sonro commented 1 year ago

The proc_macro_hack crate is no longer needed since rustc 1.45.0. As this library doesn't support compiler versions before 1.56.1, the dependency should be removed and replaced with the native version.

This would fix the rust analyzer errors highlighted in #1, remove an unnecessary dependency, and combine the dotenvy_macro and dotenvy_codegen_impl crates.

allan2 commented 1 year ago

Thank you!

I've moved the legacy code to allan2/dotenvy-codegen-impl. just adding a deprecation notice. Let me know if anything should be changed before I publish a release.