4 releases (2 breaking)

new 0.4.1 Jan 5, 2026
0.4.0 Feb 17, 2025
0.3.0 Aug 9, 2024
0.2.0 Mar 18, 2024

#259 in Windows APIs

Download history 184/week @ 2025-09-20 162/week @ 2025-09-27 198/week @ 2025-10-04 149/week @ 2025-10-11 266/week @ 2025-10-18 444/week @ 2025-10-25 324/week @ 2025-11-01 222/week @ 2025-11-08 212/week @ 2025-11-15 311/week @ 2025-11-22 199/week @ 2025-11-29 189/week @ 2025-12-06 133/week @ 2025-12-13 119/week @ 2025-12-20 153/week @ 2025-12-27 141/week @ 2026-01-03

578 downloads per month

MIT license

3KB

Winfsp Wrapper Rust

actions status

Requirements

WinFSP must be installed:

choco install winfsp

Run example

cargo run -p memfs my-mountpoint

Testing

Download winfsp-tests: https://github.com/winfsp/winfsp/releases/

winfsp-tests itself depends on WinFSP's DLL, hence the easiest way to avoid troubles is to put the winfsp-tests executable in the C:/Program Files (x86)/WinFsp/bin/ install folder (the alternative being to copy C:/Program Files (x86)/WinFsp/bin/winfsp-x64.dll in the directory where winfsp-tests executable resides).

Re-generate WinFSP bindgen code

(This is only needed when WinFSP headers change)

Rust bindgen CLI must be installed

cargo install bindgen-cli

On top of that, Clang is needed by rust-bindgen for parsing WinFSP C++ API headers.

To install Clang (also see rust-bindgen doc):

winget install LLVM.LLVM
set LIBCLANG_PATH="C:\Program Files\LLVM\bin"

Then to re-generate:

python scripts/generate_bindgen.py  winfsp_wrs_sys/src/gen.rs

No runtime deps