aboutsummaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorLUXEY Adrien <adrien.luxey@inria.fr>2021-08-14 19:12:18 +0200
committerLUXEY Adrien <adrien.luxey@inria.fr>2021-08-16 10:26:06 +0200
commitae9550ce23bbc85b05669fe5ec4406c8a67417ec (patch)
treebab55a23444b06ded2374dd0380b53a304426b33 /Cargo.lock
parentade0090cdb4a021830439dc0d9a04b2748601ea5 (diff)
downloaddiplonat-ae9550ce23bbc85b05669fe5ec4406c8a67417ec.tar.gz
diplonat-ae9550ce23bbc85b05669fe5ec4406c8a67417ec.zip
New configuration parsing using envy. Added minimal functionnality for
the future ACME parameters. Tests written and passing. WIP: added envy dependncy and ConfigOpts structs that will constitute Diplonat's configuration WIP: ConfigOpts from_env() and validate() methods written. No API change (the env names remain unchanged)! Now need to use our new ConfigOpts struct instead of Environment, and update references to the environment variables in the code. WIP: RuntimeConfig with business logic done. Tests written, but they are all running from the same process - setting environment variables in each test produces incoherent results. Another solution for testing is needed. WIP: tests are fully written using 'from_iter' and all passing
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock10
1 files changed, 10 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 7a050b4..bd1fca3 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -140,6 +140,7 @@ name = "diplonat"
version = "0.1.0"
dependencies = [
"anyhow",
+ "envy",
"futures",
"igd",
"iptables",
@@ -182,6 +183,15 @@ dependencies = [
]
[[package]]
+name = "envy"
+version = "0.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3f47e0157f2cb54f5ae1bd371b30a2ae4311e1c028f575cd4e81de7353215965"
+dependencies = [
+ "serde",
+]
+
+[[package]]
name = "fnv"
version = "1.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"