Crates.io | windivert-sys |
lib.rs | windivert-sys |
version | |
source | src |
created_at | 2021-01-22 16:43:46.979833 |
updated_at | 2024-12-08 11:38:02.440212 |
description | Raw FFI bindings for WinDivert user mode library |
homepage | https://github.com/Rubensei/windivert-rust |
repository | https://github.com/Rubensei/windivert-rust.git |
max_upload_size | |
id | 345379 |
Cargo.toml error: | TOML parse error at line 20, column 1 | 20 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
Note: This is a work in process, so the crates won't follow semantic versioning until 1.0.0 release, so any version change below 1.0.0 might introduce breaking changes in the API or the crate usage in general.
This projects allows you to use WinDivert from rust. It consists of two crates:
windivert-sys
:
Crate providing raw bindings to the WinDivert user mode library.windivert
:
(WIP) Built on top of windivert-sys
and providing a friendlier Rust API and
some abstractions.To be able to build windivert-sys
you require WinDivert library files:
WINDIVERT_PATH
environment variable.WINDIVERT_DLL_OUTPUT
environment variable to save the generated build.WINDIVERT_STATIC
is set and it takes priority over the crate features.windivert-sys
shares the same API the native library uses. Read
official documentation for more
details.windivert
WIPNote: WinDivert dll expects the corresponding driver sys file to be located
on the same folder. Since the dll lib & sys files come in the same folder when
downloading from official web
windivert-sys
will search for it on the path provided with WINDIVERT_PATH
.