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:
Generated
+7
@@ -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",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user