tool: drop unused dependencies via machete

This commit is contained in:
Julian Stecklina 2023-10-29 19:39:53 +01:00
parent 1e5145a0fa
commit 87d2087a7a
3 changed files with 1 additions and 23 deletions

10
rust/tool/Cargo.lock generated
View File

@ -444,21 +444,12 @@ name = "lanzaboote_tool"
version = "0.3.0"
dependencies = [
"anyhow",
"assert_cmd",
"bootspec",
"clap",
"expect-test",
"fastrand",
"filetime",
"goblin",
"indoc",
"log",
"nix",
"rand",
"serde",
"serde_json",
"sha2",
"stderrlog",
"tempfile",
"time",
"walkdir",
@ -498,7 +489,6 @@ dependencies = [
"log",
"nix",
"rand",
"serde",
"serde_json",
"sha2",
"stderrlog",

View File

@ -7,10 +7,7 @@ edition.workspace = true
[dependencies]
anyhow = "1"
clap = { version = "4.4", features = ["derive"] }
goblin = "0.7"
nix = { version = "0.27", default-features = false, features = [ "fs" ] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tempfile = "3.8.1"
bootspec = "1"
@ -21,11 +18,3 @@ sha2 = "0.10"
# different versions.
fastrand = "2.0.1"
log = { version = "0.4", features = ["std"] }
stderrlog = "0.5"
indoc = "2"
[dev-dependencies]
assert_cmd = "2.0.12"
expect-test = "1.4.1"
filetime = "0.2.22"
rand = "0.8.5"

View File

@ -1,6 +1,6 @@
[package]
name = "lzbt-systemd"
version.workspace = true
version.workspace = true
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@ -24,5 +24,4 @@ expect-test = "1.4.1"
filetime = "0.2.22"
rand = "0.8.5"
goblin = "0.7.1"
serde = { version = "1.0.190", features = ["derive"] }
walkdir = "2.4.0"