From e8f684b9fe0ab3f84c7d53967cac9a5dfd64f8a4 Mon Sep 17 00:00:00 2001 From: losynix Date: Mon, 18 Sep 2023 11:17:22 +0200 Subject: [PATCH 1/2] Upgrade dependencies --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f7d10e0..3a6ae18 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,10 +11,10 @@ readme = "README.md" edition = "2018" [dependencies] -fuser = "0.11" +fuser = "0.13" libc = "0.2" log = "0.4" -threadpool = "1.0" +threadpool = "1.8" [workspace] members = [".", "example"] From 967ed645e546a918b706fbbe2894cc663b650e61 Mon Sep 17 00:00:00 2001 From: losynix Date: Mon, 18 Sep 2023 11:18:14 +0200 Subject: [PATCH 2/2] clippy --- example/src/passthrough.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/example/src/passthrough.rs b/example/src/passthrough.rs index f4e5ab6..a253605 100644 --- a/example/src/passthrough.rs +++ b/example/src/passthrough.rs @@ -85,11 +85,11 @@ fn statfs_to_fuse(statfs: libc::statfs) -> Statfs { #[cfg(target_os = "linux")] fn statfs_to_fuse(statfs: libc::statfs) -> Statfs { Statfs { - blocks: statfs.f_blocks as u64, - bfree: statfs.f_bfree as u64, - bavail: statfs.f_bavail as u64, - files: statfs.f_files as u64, - ffree: statfs.f_ffree as u64, + blocks: statfs.f_blocks, + bfree: statfs.f_bfree, + bavail: statfs.f_bavail, + files: statfs.f_files, + ffree: statfs.f_ffree, bsize: statfs.f_bsize as u32, namelen: statfs.f_namelen as u32, frsize: statfs.f_frsize as u32,