Use once_cell to allow for global static immutable options

So they don't have to be passed around all over the place
This commit is contained in:
Barry Pederson
2022-03-01 10:03:38 -08:00
parent a244e714ea
commit b9c091f71f
6 changed files with 27 additions and 23 deletions
Generated
+7
View File
@@ -129,6 +129,12 @@ dependencies = [
"libc",
]
[[package]]
name = "once_cell"
version = "1.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "da32515d9f6e6e489d7bc9d84c71b060db7247dc035bbe44eac88cf87486d8d5"
[[package]]
name = "proc-macro-error"
version = "1.0.4"
@@ -175,6 +181,7 @@ dependencies = [
name = "saslauthd"
version = "0.1.0"
dependencies = [
"once_cell",
"structopt",
"syslog",
]