We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i use windows and when i use back slashes in my env the crate returns an error while trying to parse it.
SOME_VAR=some\path\to\a\file
dotenvy = "0.15.7" rustc 1.70.0 error: LineParse("\"some\\path\\to\\a\\file\"", 4) changing it to forward slashes seems to work
LineParse("\"some\\path\\to\\a\\file\"", 4)
The text was updated successfully, but these errors were encountered:
Could you provide a minimal example with your code and your .env file?
Sorry, something went wrong.
sure, here it is .env
PATH=some\path\to\file.txt
src/main.rs
use dotenvy::dotenv; fn main() { dotenv().unwrap(); println!("var {:?}", std::env::var("PATH")); }
the error:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: LineParse("some\\path\\to\\file.txt", 5)', src\main.rs:4:14
No branches or pull requests
i use windows and when i use back slashes in my env the crate returns an error while trying to parse it.
dotenvy = "0.15.7"
rustc 1.70.0
error:
LineParse("\"some\\path\\to\\a\\file\"", 4)
changing it to forward slashes seems to work
The text was updated successfully, but these errors were encountered: