Skip to content

Commit

Permalink
deps: change tar-rs to upstream version
Browse files Browse the repository at this point in the history
Since upstream tar-rs merged our fix for reading large uids/gids from
the PAX extension, so change tar-rs back to the upstream version.

Update tar-rs dependency xattr to 1.0.1 as well.

Signed-off-by: Qinqi Qu <quqinqi@linux.alibaba.com>
  • Loading branch information
adamqqqplay committed Aug 8, 2023
1 parent c9792e2 commit c8f5500
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 18 deletions.
13 changes: 7 additions & 6 deletions Cargo.lock

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

10 changes: 3 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ rlimit = "0.9.0"
serde = { version = "1.0.110", features = ["serde_derive", "rc"] }
serde_json = "1.0.51"
sha2 = "0.10.2"
tar = "0.4.38"
tar = "0.4.40"
tokio = { version = "1.24", features = ["macros"] }
vmm-sys-util = "0.11.0"
xattr = "0.2.3"
xattr = "1.0.1"

# Build static linked openssl library
openssl = { version = "0.10.55", features = ["vendored"] }
Expand Down Expand Up @@ -97,8 +97,4 @@ backend-registry = ["nydus-storage/backend-registry"]
backend-s3 = ["nydus-storage/backend-s3"]

[workspace]
members = ["api", "app", "blobfs", "clib", "error", "rafs", "storage", "service", "utils"]

[patch.crates-io]
# Due to the slow processing of PR by the upstream, temporarily fork tar-rs for this project
tar = { git = "https://github.com/nydusaccelerator/tar-rs.git" }
members = ["api", "app", "blobfs", "clib", "error", "rafs", "storage", "service", "utils"]
4 changes: 2 additions & 2 deletions builder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ nix = "0.24"
serde = { version = "1.0.110", features = ["serde_derive", "rc"] }
serde_json = "1.0.53"
sha2 = "0.10.2"
tar = "0.4.38"
tar = "0.4.40"
vmm-sys-util = "0.10.0"
xattr = "0.2.3"
xattr = "1.0.1"

nydus-api = { version = "0.3", path = "../api" }
nydus-rafs = { version = "0.3", path = "../rafs" }
Expand Down
4 changes: 2 additions & 2 deletions storage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ reqwest = { version = "0.11.14", features = [
serde = { version = "1.0.110", features = ["serde_derive", "rc"] }
serde_json = "1.0.53"
sha2 = { version = "0.10.2", optional = true }
tar = "0.4.38"
tar = "0.4.40"
time = { version = "0.3.14", features = ["formatting"], optional = true }
tokio = { version = "1.19.0", features = [
"macros",
Expand All @@ -51,7 +51,7 @@ sha1 = { version = "0.10.5", optional = true }

[dev-dependencies]
vmm-sys-util = "0.11"
tar = "0.4.38"
tar = "0.4.40"
regex = "1.7.0"

[features]
Expand Down
2 changes: 1 addition & 1 deletion utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ flate2 = { version = "1.0.17", features = ["zlib-ng-compat"], default-features =

[dev-dependencies]
vmm-sys-util = "0.11.0"
tar = "0.4.38"
tar = "0.4.40"

[features]
zran = ["libz-sys"]
Expand Down

0 comments on commit c8f5500

Please sign in to comment.