summaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorThomas Mühlbacher <tmuehlbacher@posteo.net>2024-05-30 18:31:10 +0200
committerThomas Mühlbacher <tmuehlbacher@posteo.net>2024-05-30 22:26:06 +0200
commit21b1111b59fe9935d12e2e23abd5261458c4d77e (patch)
treeb257e2cdf13e19eb33cab1f3b1cf45a73c49ce2d /Cargo.lock
parentde6e8ac23014b18795b08aad0e7a0b38323a49d3 (diff)
refactor: reduce `UnlockPolicy` boilerplate
Signed-off-by: Thomas Mühlbacher <tmuehlbacher@posteo.net>
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock30
1 files changed, 30 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 22ac0e3b..61e55c83 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -86,6 +86,8 @@ dependencies = [
"libc",
"log",
"rpassword",
+ "strum",
+ "strum_macros",
"udev",
"uuid",
]
@@ -517,6 +519,12 @@ dependencies = [
]
[[package]]
+name = "rustversion"
+version = "1.0.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6"
+
+[[package]]
name = "shlex"
version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -529,6 +537,28 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
[[package]]
+name = "strum"
+version = "0.26.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5d8cec3501a5194c432b2b7976db6b7d10ec95c253208b45f83f7136aa985e29"
+dependencies = [
+ "strum_macros",
+]
+
+[[package]]
+name = "strum_macros"
+version = "0.26.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c6cf59daf282c0a494ba14fd21610a0325f9f90ec9d1231dea26bcb1d696c946"
+dependencies = [
+ "heck",
+ "proc-macro2",
+ "quote",
+ "rustversion",
+ "syn",
+]
+
+[[package]]
name = "syn"
version = "2.0.48"
source = "registry+https://github.com/rust-lang/crates.io-index"