dotenv-rs / dotenv

Library to help supply environment variables in testing and development
MIT License
557 stars 85 forks source link

Fails for variables with spaces #46

Closed Pzixel closed 4 years ago

Pzixel commented 4 years ago

Consider following .env file

Foo=Bar Baz

Unfortunately, it cannot get parsed:

thread 'main' panicked at 'called Result::unwrap() on an Err value: LineParse("Bar Baz", 4)', src\main.rs:18:5

Pzixel commented 4 years ago

It looks like Foo="Bar Baz" works as expected