mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Add new derive macros ValueEnumDisplay and ValueEnumFromStr which can be used to derive 'Display' and 'FromStr' for enums implementing 'clap::ValueEnum'. It helps in reducing boilerplate code and keep things in sync. Assisted-by: IBM Bob:1.0.4 Signed-off-by: Marc Hartmayer <marc@linux.ibm.com> Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
19 lines
507 B
TOML
19 lines
507 B
TOML
[package]
|
|
name = "utils"
|
|
version = "0.12.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
chrono = { version = "0.4.44", default-features = false, features = ["std"] }
|
|
clap = { version ="4.6", features = ["derive", "wrap_help"] }
|
|
libc = "0.2.186"
|
|
log = { version = "0.4.29", features = ["std", "release_max_level_debug"] }
|
|
pv = { path = "../pv", package = "s390_pv" }
|
|
serde = { version = "1.0.228"}
|
|
|
|
utils_macros = { path = "../utils_macros" }
|
|
|
|
[dev-dependencies]
|
|
serde_json = "1.0.149"
|