docs.rs failed to build tap-windows-0.1.0
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.
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:
tap-windows-0.1.2
tap-windows
Library to interface with the tap-windows driver created by OpenVPN to manage tap interfaces.
Install
Add this to your [dependencies]
in Cargo.toml
= "0.1"
Alternatively if you have cargo-edit
installed you can install it by running cargo add tap-windows
.
Usage
Check the documentation for Device
for a simple usage example.
Features
Currently this implementation lacks many features. Here is a list of currently implemented (and unimplemented but planned) features:
- Creating/opening/deleting interfaces.
- Reading and writing from an interface.
- Read driver configuration (mtu, version, mac).
- Write interface ip configuration (set interface ip/mask).
- Read interface ip configuration (get interface ip/mask).
- Tun emulation mode.
- Async read/write.
- Drop netsh for interface configuration (maybe switch to wmi?).