aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2020-01-23 14:04:42 +0100
committerDaniel Mueller <deso@posteo.net>2020-09-01 21:12:56 -0700
commitbd704881145d3586f9a3cf9b171121b02e54f1ee (patch)
tree2f78b8df1478dca754e341926a92a42cb266ae37 /CHANGELOG.md
parent3f430bac70a946c776a930fabc5b64a788113452 (diff)
downloadnitrocli-bd704881145d3586f9a3cf9b171121b02e54f1ee.tar.gz
nitrocli-bd704881145d3586f9a3cf9b171121b02e54f1ee.tar.bz2
Use envy to parse environment variables for Config
This patch uses the envy crate to parse the environment. A variable NITROCLI_KEY can be used to overwrite the configuration for *key*. This has the side effect that the NITROCLI_NO_CACHE variable is evaluated as a boolean variable (instead of only checking whether it is set). We also accept two new variables, NITROCLI_MODEL and NITROCLI_VERBOSITY.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 21b5f09..020bdc6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,9 +3,16 @@ Unreleased
- Added support for configuration files
- Added `toml` dependency in version `0.5.6`
- Added `serde` dependency in version `1.0.114`
+ - Added `envy` dependency in version `0.4.1`
+ - Added `merge` dependency in version `0.1.0`
- Changed default OTP format from `hex` to `base32`
- Improved error reporting format and fidelity
- Added `anyhow` dependency in version `1.0.32`
+- Reworked environment variables:
+ - Added the `NITROCLI_MODEL` and `NITROCLI_VERBOSITY` variables that
+ set the defaults for the `--model` and `--verbose` options
+ - Changed the handling of the `NITROCLI_NO_CACHE` variable to check
+ the value of the variable instead of only the presence
- Updated minimum required Rust version to `1.42.0`
- Bumped `nitrokey` dependency to `0.7.1`
- Bumped `proc-macro2` dependency to `1.0.19`