Closed Vrixyz closed 1 year ago
My use case is:
dotenv!("env_key")
This PR adds a try_dotenv!("env_key", "default value") which does not create a compilation error if the second parameter is correct.
try_dotenv!("env_key", "default value")
actually, dotenv! already does that, but I need to create a .env file to bypass compilation, I'm closing this as the workaround to create a ".env" is good enough for me.
My use case is:
dotenv!("env_key")
fits my needs 🎉dotenv!("env_key")
fails the compilation 👎This PR adds a
try_dotenv!("env_key", "default value")
which does not create a compilation error if the second parameter is correct.