dotenvy
dotenvy copied to clipboard
Compile-time macro should be configurable with path
With the deprecation of from_filename and finding in this crate, this functionality is needed for the dotenv! macro to be updated.
It should follow the design of the runtime attribute macro, #[load(path = "./.env", required = true, override_ = false).
Is something along the lines of:
dotenvy_macro::load!("./.env", true, false)
What you're looking for? If not, could you please provide an example.
It should follow the attribute macro.
Like:
load!(path = "./.env", required = true, override_ = false)