use strum instead

This commit is contained in:
Charles Hall 2024-06-04 12:34:09 -07:00
parent 792300d220
commit 9364d44ce2
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
3 changed files with 27 additions and 12 deletions

23
Cargo.lock generated
View file

@ -887,6 +887,7 @@ dependencies = [
"serde_json",
"serde_yaml",
"sha-1",
"strum",
"thiserror",
"thread_local",
"tikv-jemallocator",
@ -2790,6 +2791,28 @@ dependencies = [
"der",
]
[[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 0.4.1",
"proc-macro2",
"quote",
"rustversion",
"syn",
]
[[package]]
name = "subslice"
version = "0.2.3"