dotenvy icon indicating copy to clipboard operation
dotenvy copied to clipboard

dotenvy_macro could use a option_env!() macro

Open wfraser opened this issue 7 months ago • 1 comments

like the one in std: https://doc.rust-lang.org/std/macro.option_env.html

If the var isn't there, it returns None, instead of raising a compile error. There doesn't seem to be a way to do this with dotenvy currently.

wfraser avatar Nov 29 '23 04:11 wfraser