diff --git a/Cargo.toml b/Cargo.toml index c63918a4..79945312 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -52,7 +52,7 @@ proxmox = { version = "0.11.0", features = [ "sortable-macro", "api-macro", "web #proxmox = { git = "git://git.proxmox.com/git/proxmox", version = "0.1.2", features = [ "sortable-macro", "api-macro" ] } #proxmox = { path = "../proxmox/proxmox", features = [ "sortable-macro", "api-macro", "websocket" ] } proxmox-fuse = "0.1.1" -pxar = { version = "0.9.0", features = [ "tokio-io" ] } +pxar = { version = "0.10.0", features = [ "tokio-io" ] } #pxar = { path = "../pxar", features = [ "tokio-io" ] } regex = "1.2" rustyline = "7" diff --git a/debian/control b/debian/control index 5494627b..4cd86124 100644 --- a/debian/control +++ b/debian/control @@ -41,8 +41,8 @@ Build-Depends: debhelper (>= 11), librust-proxmox-0.11+sortable-macro-dev, librust-proxmox-0.11+websocket-dev, librust-proxmox-fuse-0.1+default-dev (>= 0.1.1-~~), - librust-pxar-0.9+default-dev, - librust-pxar-0.9+tokio-io-dev, + librust-pxar-0.10+default-dev, + librust-pxar-0.10+tokio-io-dev, librust-regex-1+default-dev (>= 1.2-~~), librust-rustyline-7+default-dev, librust-serde-1+default-dev, diff --git a/src/pxar/create.rs b/src/pxar/create.rs index b024c926..e5673de7 100644 --- a/src/pxar/create.rs +++ b/src/pxar/create.rs @@ -752,10 +752,7 @@ fn get_metadata(fd: RawFd, stat: &FileStat, flags: Flags, fs_magic: i64) -> Resu flags: 0, uid: stat.st_uid, gid: stat.st_gid, - mtime: pxar::format::StatxTimestamp { - secs: stat.st_mtime, - nanos: stat.st_mtime_nsec as u32, - }, + mtime: pxar::format::StatxTimestamp::new(stat.st_mtime, stat.st_mtime_nsec as u32), }, ..Default::default() };