winfsp 0.2.0+winfsp-1.11

Rust bindings to WinFSP
docs.rs failed to build winfsp-0.2.0+winfsp-1.11
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: winfsp-0.5.1+winfsp-1.11

winfsp-rs

Latest Version Docs License

Safe Rust bindings to WinFSP with examples.

⚠️ Very WIP and not production ready! ⚠️

This crate may possibly be unsound, and is very undocumented.
A best effort has been made to keep aliasing rules around, but FFI with WinFSP involves a lot of pointers that end up as references when putting a Rust-friendly API around it, and the nature of FFI makes it difficult to test with miri.

Usage

By default, winfsp-rs builds against an included import library. To build against the installed WinFSP libraries, enable the system feature. The path will automatically be determined via the Registry.

[dependencies.winfsp]
version = "0.2"
features = ["system"]

Delay-loading

To enable delay-loading of WinFSP, add winfsp to build-dependencies and call winfsp::build::winfsp_link_delayload() in the build script.

Cargo.toml

[build-dependencies]
winfsp = "0.2"

build.rs

fn main() { 
    winfsp::build::winfsp_link_delayload();
}

Debugging

Debug output can be enabled with the debug feature. Debug output is not currently configurable at runtime.

[dependencies.winfsp]
features = ["debug"]

Legal

winfsp-rs is licensed under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.

Attribution

WinFsp - Windows File System Proxy,

Copyright (C) Bill Zissimopoulos
https://github.com/winfsp/winfsp