Skip to content

Commit

Permalink
storage: disable remote access related code
Browse files Browse the repository at this point in the history
Disable remote access related code, it's unused currently.

Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
  • Loading branch information
jiangliu committed Sep 30, 2022
1 parent 9afd13a commit 75a6209
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 143 deletions.
168 changes: 35 additions & 133 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion rafs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ nix = "0.24"
serde = { version = "1.0.110", features = ["serde_derive", "rc"] }
serde_json = "1.0.53"
spmc = "0.3.0"
url = { version = "2.1.1", optional = true }
vm-memory = "0.9"
fuse-backend-rs = { version = "0.9" }

Expand Down
11 changes: 4 additions & 7 deletions storage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,9 @@ repository = "https://github.com/dragonflyoss/image-service"
edition = "2018"

[dependencies]
anyhow = "1.0.35"
arc-swap = "1.5"
base64 = { version = "0.13.0", optional = true }
bitflags = "1.2.1"
dbs-uhttp = { version = "0.3.0" }
futures = "0.3"
hmac-sha1-compact = { version = "1.1.1", optional = true }
httpdate = { version = "1.0", optional = true }
lazy_static = "1.4.0"
Expand All @@ -23,24 +20,24 @@ libc = "0.2"
log = "0.4.8"
nix = "0.24"
reqwest = { version = "0.11.11", features = ["blocking", "json"], optional = true }
serde = { version = "1.0.110", features = ["serde_derive", "rc"] }
serde = { version = "1.0.110", features = ["serde_derive", "rc"], optional = true }
serde_json = "1.0.53"
tokio = { version = "1.19.0", features = ["rt", "rt-multi-thread", "sync", "time"] }
url = { version = "2.1.1", optional = true }
vm-memory = "0.9"
vmm-sys-util = "0.10"
fuse-backend-rs = { version = "0.9" }

nydus-api = { version = "0.1", path = "../api" }
nydus-utils = { version = "0.3", path = "../utils" }
nydus-error = { version = "0.2", path = "../error" }

[dev-dependencies]
vmm-sys-util = "0.10"

[features]
backend-localfs = []
backend-oss = ["base64", "httpdate", "hmac-sha1-compact", "reqwest", "url"]
backend-registry = ["base64", "reqwest", "url"]
backend-oss = ["base64", "httpdate", "hmac-sha1-compact", "reqwest"]
backend-registry = ["base64", "reqwest", "serde", "url"]

[package.metadata.docs.rs]
all-features = true
Expand Down
Loading

0 comments on commit 75a6209

Please sign in to comment.