Wintun driver versions before 0.14 are no longer support due to beraking
changes in the C API
Adapter::create returns a Result<Adapter, ...> instead of a Result<CreateData, ...>.
This was done because the underlying Wintun function was changed to only return an adapter handle
Adapter::create the pool parameter was removed because it was also removed from the C function
Adapter::delete takes no parameters and returns a Result<(), ()>.
The force_close_sessions parameter was removed because it was removed from the
C function. Same for the bool inside the Ok(..) variant
Adapter::create and Adapter::open return Arc<Adapter> instead of Adapter
get_running_driver_version now returns a proper Result<Version, ()>.
Added
reset_logger function to disable logging after a logger has been set.
Added support for wintun 0.14.
Breaking Changes
0.14
are no longer support due to beraking changes in the C APIAdapter::create
returns aResult<Adapter, ...>
instead of aResult<CreateData, ...>
. This was done because the underlying Wintun function was changed to only return an adapter handleAdapter::create
the pool parameter was removed because it was also removed from the C functionAdapter::delete
takes no parameters and returns aResult<(), ()>
. Theforce_close_sessions
parameter was removed because it was removed from the C function. Same for the bool inside the Ok(..) variantAdapter::create
andAdapter::open
returnArc<Adapter>
instead ofAdapter
get_running_driver_version
now returns a proper Result<Version, ()>.Added
reset_logger
function to disable logging after a logger has been set.