Skip to content

Commit

Permalink
build: Removed unused dependencies
Browse files Browse the repository at this point in the history
Removes unused cargo dependencies.

Signed-off-by: Jonathan Woollett-Light <[email protected]>
  • Loading branch information
Jonathan Woollett-Light authored and JonathanWoollett-Light committed Oct 10, 2023
1 parent 5a6f28d commit 93a3194
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion src/snapshot-editor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ bench = false

[dependencies]
clap = { version = "4.4.6", features = ["derive", "string"] }
clap-num = "1.0.2"
displaydoc = "0.2.4"
libc = "0.2.148"
snapshot = { path = "../snapshot" }
thiserror = "1.0.49"
vmm = { path = "../vmm" }

fc_utils = { package = "utils", path = "../utils" }

[target.'cfg(target_arch = "aarch64")'.dependencies]
clap-num = "1.0.2"
2 changes: 0 additions & 2 deletions src/utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,5 @@ versionize_derive = "0.1.6"
vmm-sys-util = "0.11.2"
vm-memory = { version = "0.12.0", features = ["backend-mmap", "backend-bitmap"] }

net_gen = { path = "../net_gen" }

[dev-dependencies]
serde_json = "1.0.99"
4 changes: 3 additions & 1 deletion src/vmm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ userfaultfd = "0.7.0"
versionize = "0.1.10"
versionize_derive = "0.1.6"
vm-allocator = "0.1.0"
vm-fdt = "0.2.0"
vm-superio = "0.7.0"
log = { version = "0.4.17", features = ["std", "serde"] }
aes-gcm = { version = "0.10.1", default-features = false, features = ["aes"] }
Expand All @@ -42,6 +41,9 @@ snapshot = { path = "../snapshot"}
utils = { path = "../utils" }
virtio_gen = { path = "../virtio_gen" }

[target.'cfg(target_arch = "aarch64")'.dependencies]
vm-fdt = "0.2.0"

[dev-dependencies]
criterion = { version = "0.5.0", default-features = false }
device_tree = "1.1.0"
Expand Down

0 comments on commit 93a3194

Please sign in to comment.