Allan Zhang
Allan Zhang
I also ran into this issue. It looks like a bug. An empty return in one of the branches also makes the minifier happy.
At first glance, I was also confused by `from_filename` and `from_path`. In addition to docs, this could benefit from renaming (#101).
`from_filename` is now deprecated. This was to prevent directory traversal attacks. There is a [find example](https://github.com/allan2/dotenvy/blob/v0.16/examples/find/src/main.rs) for those who wish to search for the matching filename up the tree.
Making `Iter` public sounds good to me. I would keep `from_read_iter` around, at least for the time being.
On the [v0.16 branch](https://github.com/allan2/dotenvy/blob/v0.16/dotenvy/src/iter.rs), I have made `Iter` private. The `*_iter` functions are now deprecated. `EnvLoader::load` returns `HashMap`. Does anyone object to `Iter` being private?
The specific filenames like *.env.development* and *.env.local* are not supported in this crate but you can achieve the same functionality using "from path" functions and override functions. You can see...
> Every .env package I know of for e.g. Node.js, and the OG .env Ruby gem parses the following file correctly: Funnily, each implementation has their own interpretation of what...
Good idea! PRs are welcome.
Due to new configs, many macros would be required to cover the config space. Superseded by #128
Hi Aiden, thank you for your PR. I have noticed your enthusiasm in the multitude of comments left in this repo over the last day ;) Heads up: this issue...