Skip to content

Commit

Permalink
dep: remove unused dependencies
Browse files Browse the repository at this point in the history
Remove unused dependencies, and upgrade fuse-backend-rs to fix a bug
in `lookup()`.

Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
  • Loading branch information
jiangliu committed Jan 19, 2023
1 parent 3de2d83 commit 8450262
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 131 deletions.
108 changes: 14 additions & 94 deletions Cargo.lock

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

72 changes: 36 additions & 36 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,50 +13,51 @@ resolver = "2"
[profile.release]
panic = "abort"

[[bin]]
name = "nydusctl"
path = "src/bin/nydusctl/main.rs"

[[bin]]
name = "nydusd"
path = "src/bin/nydusd/main.rs"

[[bin]]
name = "nydus-image"
path = "src/bin/nydus-image/main.rs"

[lib]
name = "nydus"
path = "src/lib.rs"

[dependencies]
rlimit = "0.8.3"
log = "0.4.8"
libc = "0.2"
vmm-sys-util = "0.10.0"
anyhow = "1"
base64 = "0.13.0"
clap = { version = "4.0.18", features = ["derive", "cargo"] }
fuse-backend-rs = "0.10.1"
hex = "0.4.3"
hyper = "0.14.11"
hyperlocal = "0.8.0"
indexmap = "1"
lazy_static = "1"
libc = "0.2"
log = "0.4.8"
mio = { version = "0.8", features = ["os-poll", "os-ext"] }
nix = "0.24.0"
rlimit = "0.9.0"
rust-fsm = "0.6.0"
serde = { version = "1.0.110", features = ["serde_derive", "rc"] }
serde_json = "1.0.51"
sha2 = "0.10.2"
tar = "0.4.38"
time = { version = "0.3.14", features = ["serde-human-readable"] }
lazy_static = "1.4.0"
xattr = "0.2.2"
nix = "0.24.0"
anyhow = "1.0.35"
base64 = "0.13.0"
rust-fsm = "0.6.0"
vm-memory = { version = "0.9.0", features = ["backend-mmap"], optional = true }
openssl = { version = "0.10.40", features = ["vendored"] }
# pin openssl-src to bring in fix for https://rustsec.org/advisories/RUSTSEC-2022-0032
openssl-src = { version = "111.22" }
hyperlocal = "0.8.0"
tokio = { version = "1.24", features = ["macros"] }
hyper = "0.14.11"
# pin rand_core to bring in fix for https://rustsec.org/advisories/RUSTSEC-2021-0023
rand_core = "0.6.2"
tar = "0.4.38"
mio = { version = "0.8", features = ["os-poll", "os-ext"] }
hex = "0.4.3"
vmm-sys-util = "0.10.0"
xattr = "0.2.3"

fuse-backend-rs = "0.10.1"
vhost = { version = "0.5.0", features = ["vhost-user-slave"], optional = true }
vhost-user-backend = { version = "0.7.0", optional = true }
virtio-bindings = { version = "0.1", features = [
"virtio-v5_0_0",
], optional = true }
virtio-queue = { version = "0.6.0", optional = true }
# Build static linked openssl library
openssl = { version = "0.10.45", features = ["vendored"] }
# pin openssl-src to bring in fix for https://rustsec.org/advisories/RUSTSEC-2022-0032
#openssl-src = { version = "111.22" }

nydus-api = { version = "0.1.0", path = "api", features = ["handler"] }
nydus-app = { version = "0.3.0", path = "app" }
Expand All @@ -68,15 +69,14 @@ nydus-rafs = { version = "0.1.0", path = "rafs", features = [
] }
nydus-storage = { version = "0.5.0", path = "storage" }
nydus-utils = { version = "0.3.0", path = "utils" }
nydus-blobfs = { version = "0.1.0", path = "blobfs", features = [
"virtiofs",
], optional = true }
indexmap = "1.9.1"

[dev-dependencies]
sendfd = "0.3.3"
env_logger = "0.8.2"
rand = "0.8.5"
nydus-blobfs = { version = "0.1.0", path = "blobfs", features = ["virtiofs"], optional = true }

vhost = { version = "0.5.0", features = ["vhost-user-slave"], optional = true }
vhost-user-backend = { version = "0.7.0", optional = true }
virtio-bindings = { version = "0.1", features = ["virtio-v5_0_0"], optional = true }
virtio-queue = { version = "0.6.0", optional = true }
vm-memory = { version = "0.9.0", features = ["backend-mmap"], optional = true }

[features]
default = ["fuse-backend-rs/fusedev"]
Expand Down
2 changes: 1 addition & 1 deletion utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ libz-sys = { version = "1.1.8", features = ["zlib-ng"], default-features = false
flate2 = { version = "1.0.17", features = ["zlib-ng-compat"], default-features = false }

[dev-dependencies]
vmm-sys-util = ">=0.9.0"
vmm-sys-util = "0.10.0"
tar = "0.4.38"

[features]
Expand Down

0 comments on commit 8450262

Please sign in to comment.