heavily based on dotenv
dotenv-build helps you to supply your .env file as compile time environment variables in your build.rs.
dotenv-build
build.rs
For more information, please visit the documentation.