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" version = "0.3.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"assert_cmd",
"bootspec", "bootspec",
"clap",
"expect-test",
"fastrand", "fastrand",
"filetime",
"goblin", "goblin",
"indoc",
"log", "log",
"nix",
"rand",
"serde",
"serde_json", "serde_json",
"sha2", "sha2",
"stderrlog",
"tempfile", "tempfile",
"time", "time",
"walkdir", "walkdir",
@ -498,7 +489,6 @@ dependencies = [
"log", "log",
"nix", "nix",
"rand", "rand",
"serde",
"serde_json", "serde_json",
"sha2", "sha2",
"stderrlog", "stderrlog",

View File

@ -7,10 +7,7 @@ edition.workspace = true
[dependencies] [dependencies]
anyhow = "1" anyhow = "1"
clap = { version = "4.4", features = ["derive"] }
goblin = "0.7" goblin = "0.7"
nix = { version = "0.27", default-features = false, features = [ "fs" ] }
serde = { version = "1", features = ["derive"] }
serde_json = "1" serde_json = "1"
tempfile = "3.8.1" tempfile = "3.8.1"
bootspec = "1" bootspec = "1"
@ -21,11 +18,3 @@ sha2 = "0.10"
# different versions. # different versions.
fastrand = "2.0.1" fastrand = "2.0.1"
log = { version = "0.4", features = ["std"] } 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

@ -24,5 +24,4 @@ expect-test = "1.4.1"
filetime = "0.2.22" filetime = "0.2.22"
rand = "0.8.5" rand = "0.8.5"
goblin = "0.7.1" goblin = "0.7.1"
serde = { version = "1.0.190", features = ["derive"] }
walkdir = "2.4.0" walkdir = "2.4.0"