| Crates.io | windivert |
| lib.rs | windivert |
| version | 0.7.0-beta.4 |
| created_at | 2021-02-13 16:43:26.251514+00 |
| updated_at | 2025-09-25 18:52:54.457318+00 |
| description | Wrapper library around windivert-sys |
| homepage | https://github.com/Rubensei/windivert-rust |
| repository | https://github.com/Rubensei/windivert-rust.git |
| max_upload_size | |
| id | 354759 |
| size | 125,776 |
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
windivert
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.