From 455104c0c812854293832425ad9e30ba9ac5e6a3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 28 Jul 2026 03:29:55 +0000 Subject: [PATCH 1/3] chore(deps): bump fuser from 0.17.0 to 0.18.0 Bumps [fuser](https://github.com/cberner/fuser) from 0.17.0 to 0.18.0. - [Release notes](https://github.com/cberner/fuser/releases) - [Changelog](https://github.com/cberner/fuser/blob/master/CHANGELOG.md) - [Commits](https://github.com/cberner/fuser/compare/v0.17.0...v0.18.0) --- updated-dependencies: - dependency-name: fuser dependency-version: 0.18.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 8 ++++---- Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 47ce097..2065e2b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -430,9 +430,9 @@ checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" [[package]] name = "fuser" -version = "0.17.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80a5eca878900c2e39e9e52fd797954b7fc39eeefc8558257114bfea6a698fcf" +checksum = "b82b6597d216503555ead6b358f341ef748869bf5c6fbae6a0cb9dd231baecfd" dependencies = [ "bitflags", "libc", @@ -664,9 +664,9 @@ dependencies = [ [[package]] name = "nix" -version = "0.30.1" +version = "0.31.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74523f3a35e05aba87a1d978330aef40f67b0304ac79c1c00b294c9830543db6" +checksum = "cf20d2fde8ff38632c426f1165ed7436270b44f199fc55284c38276f9db47c3d" dependencies = [ "bitflags", "cfg-if", diff --git a/Cargo.toml b/Cargo.toml index d2d6565..dfa233b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ base64 = "0.23" blake3 = "1.5" chacha20poly1305 = "0.11" clap = { version = "4.5", features = ["derive"] } -fuser = { version = "0.17", features = ["libfuse3"] } +fuser = { version = "0.18", features = ["libfuse3"] } hex = "0.4" io-uring = "0.7" libc = "0.2" From 3098f54967983fd570588bd9389f0bd5e4883ff6 Mon Sep 17 00:00:00 2001 From: Castronaut <3116935098@qq.com> Date: Fri, 31 Jul 2026 11:09:52 +0800 Subject: [PATCH 2/3] fix(fuse): adapt to fuser 0.18 mount API --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index dfa233b..869c391 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ base64 = "0.23" blake3 = "1.5" chacha20poly1305 = "0.11" clap = { version = "4.5", features = ["derive"] } -fuser = { version = "0.18", features = ["libfuse3"] } +fuser_crate = { package = "fuser", version = "0.18", features = ["libfuse3"] } hex = "0.4" io-uring = "0.7" libc = "0.2" From 2b4300cdd50f84249128de54ca3954109ce669c9 Mon Sep 17 00:00:00 2001 From: Castronaut <3116935098@qq.com> Date: Fri, 31 Jul 2026 11:10:11 +0800 Subject: [PATCH 3/3] fix(fuse): adapt to fuser 0.18 mount API --- src/lib.rs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 5ed0a53..387ece9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,22 @@ +extern crate self as fuser; + +pub use fuser_crate::{ + AccessFlags, BsdFileFlags, Config, CopyFileRangeFlags, Errno, FileAttr, FileHandle, FileType, + Filesystem, FopenFlags, Generation, INodeNo, InitFlags, KernelConfig, LockOwner, MountOption, + OpenFlags, RenameFlags, ReplyAttr, ReplyCreate, ReplyData, ReplyDirectory, ReplyDirectoryPlus, + ReplyEmpty, ReplyEntry, ReplyLseek, ReplyOpen, ReplyStatfs, ReplyWrite, ReplyXattr, Request, + SessionACL, TimeOrNow, WriteFlags, +}; + +#[doc(hidden)] +pub fn mount2>( + filesystem: FS, + mountpoint: P, + options: &fuser_crate::Config, +) -> std::io::Result<()> { + fuser_crate::mount(filesystem, mountpoint, options) +} + pub mod cli; pub mod control; pub mod data;