3 stable releases
2.1.0 | Jan 15, 2021 |
---|---|
2.0.0 | Feb 5, 2020 |
1.0.0 | Jan 31, 2020 |
#411 in Configuration
2,232 downloads per month
Used in ittapi
5KB
79 lines
scoped-env
A helper struct (mostly for tests) that scopes an environment variable lifetime to that of a rust scope. Useful for setting environment variables that should be local to the test function.
Usage
Add this to your Cargo.toml
:
[dependencies]
scoped-env = "2.1.0"