Closed mokhtarabadi closed 4 months ago
libloading
Cargo.toml
README.md
WINTUN_LIBARAY_PATH
Error
src/error.rs
libloading::Error
Device
src/platform/windows/device.rs
This change allows the application to dynamically load the Wintun library, making it more flexible regarding library path configuration.
Thanks
libloading
dependency toCargo.toml
for dynamic library loadingREADME.md
to include instructions for settingWINTUN_LIBARAY_PATH
environment variableError
enum insrc/error.rs
to handlelibloading::Error
Device
struct insrc/platform/windows/device.rs
to dynamically load Wintun library usinglibloading