diff options
author | Thomas Mühlbacher <tmuehlbacher@posteo.net> | 2024-05-30 18:31:10 +0200 |
---|---|---|
committer | Thomas Mühlbacher <tmuehlbacher@posteo.net> | 2024-05-30 22:26:06 +0200 |
commit | 21b1111b59fe9935d12e2e23abd5261458c4d77e (patch) | |
tree | b257e2cdf13e19eb33cab1f3b1cf45a73c49ce2d /Cargo.lock | |
parent | de6e8ac23014b18795b08aad0e7a0b38323a49d3 (diff) |
refactor: reduce `UnlockPolicy` boilerplate
Signed-off-by: Thomas Mühlbacher <tmuehlbacher@posteo.net>
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -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" |