fornwall / rust-script

Run Rust files and expressions as scripts without any setup or compilation step.
https://rust-script.org
Apache License 2.0
1.2k stars 41 forks source link

Support for .env file? #127

Open hbcondo opened 3 months ago

hbcondo commented 3 months ago

Is it possible to load environment variables from a .env file? I tried dotenvy but no matter where the .env file is placed, I always receive the error:

.env file not found: Io(Custom { kind: NotFound, error: "path not found" })