Skip to content

Instantly share code, notes, and snippets.

@mammothbane
Created February 14, 2018 01:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mammothbane/0f7a53492c8fc70c90c7b87a2e212d7c to your computer and use it in GitHub Desktop.
Save mammothbane/0f7a53492c8fc70c90c7b87a2e212d7c to your computer and use it in GitHub Desktop.
dotenv! macro hangs
MY_KEY=MY_VALUE
[package]
name = "dotenv_breaks"
version = "0.1.0"
authors = ["Nathan Perry <avaglir@gmail.com>"]
[dependencies]
dotenv_codegen = "0.11.0"
#[macro_use] extern crate dotenv_codegen;
fn main() {
println!(dotenv!("MY_KEY"));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment