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.
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.
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
anddotenvy_codegen_impl
crates.