diff options
author | Matthias Beyer <matthias.beyer@ifm.com> | 2022-01-10 08:49:09 +0100 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@ifm.com> | 2022-02-18 15:41:57 +0100 |
commit | df052450ba30e55b5dcd464bca5236e1e995a2b9 (patch) | |
tree | 11ec5465c22459808055744582b6554d9f4bc624 /crates/core/tedge/Cargo.toml | |
parent | ee2a1c14f338fe5e433d4d58a862994d60fb18f7 (diff) |
Replace structopt with clap 3
This patch rewrites the CLI interfaces to be used with clap 3.0 instead
of clap 2.x + structopt.
The changes are as minimal as possible, although I did not verify that
the CLI is the same as before.
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
Diffstat (limited to 'crates/core/tedge/Cargo.toml')
-rw-r--r-- | crates/core/tedge/Cargo.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/core/tedge/Cargo.toml b/crates/core/tedge/Cargo.toml index 2180b35c..f19a91e7 100644 --- a/crates/core/tedge/Cargo.toml +++ b/crates/core/tedge/Cargo.toml @@ -16,6 +16,7 @@ maintainer-scripts = "../../../configuration/debian/tedge" anyhow = "1.0" base64 = "0.13" certificate = { path = "../../common/certificate" } +clap = { version = "3", features = ["cargo", "derive"] } futures = "0.3" hyper = { version = "0.14", default-features = false } reqwest = { version = "0.11", default-features = false, features = ["blocking", "json", "rustls-tls", "stream"] } @@ -25,7 +26,6 @@ rustls = "0.20.2" rustls_0_19 = {package = "rustls", version = "0.19.0" } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -structopt = "0.3" tedge_config = { path = "../../common/tedge_config" } tedge_users = { path = "../../common/tedge_users" } tedge_utils = { path = "../../common/tedge_utils" } |