Skip to content

Commit

Permalink
Bump version 0.7.11
Browse files Browse the repository at this point in the history
  • Loading branch information
ssrlive committed Sep 27, 2024
1 parent 96a5979 commit 2e28bf0
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wintun-bindings"
version = "0.7.10"
version = "0.7.11"
edition = "2021"
authors = [
"ssrlive",
Expand Down
2 changes: 1 addition & 1 deletion examples/basic-async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ static RUNNING: AtomicBool = AtomicBool::new(true);
#[tokio::main]
async fn main() -> Result<(), BoxError> {
dotenvy::dotenv().ok();
env_logger::init();
env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("trace")).init();
let dll_path = get_wintun_bin_pattern_path()?;
let wintun = unsafe { load_from_path(dll_path)? };

Expand Down
2 changes: 1 addition & 1 deletion examples/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ static RUNNING: AtomicBool = AtomicBool::new(true);

fn main() -> Result<(), wintun_bindings::BoxError> {
dotenvy::dotenv().ok();
env_logger::init();
env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("trace")).init();
let dll_path = wintun_bindings::get_wintun_bin_pattern_path()?;
let wintun = unsafe { wintun_bindings::load_from_path(dll_path)? };

Expand Down
2 changes: 1 addition & 1 deletion examples/udp-echo-async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ impl std::fmt::Display for NaiveUdpPacket {
#[tokio::main]
async fn main() -> Result<(), BoxError> {
dotenvy::dotenv().ok();
env_logger::init();
env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("trace")).init();
// Loading wintun
let dll_path = get_wintun_bin_pattern_path()?;
let wintun = unsafe { load_from_path(dll_path)? };
Expand Down
2 changes: 1 addition & 1 deletion examples/udp-echo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ impl std::fmt::Display for NaiveUdpPacket {

fn main() -> Result<(), BoxError> {
dotenvy::dotenv().ok();
env_logger::init();
env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("trace")).init();
// Loading wintun
let dll_path = get_wintun_bin_pattern_path()?;
let wintun = unsafe { load_from_path(dll_path)? };
Expand Down
2 changes: 1 addition & 1 deletion examples/wireshark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ impl RouteCmd {

fn main() -> Result<(), BoxError> {
dotenvy::dotenv().ok();
env_logger::init();
env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("trace")).init();

let dll_path = get_wintun_bin_pattern_path()?;
let wintun = unsafe { wintun_bindings::load_from_path(dll_path)? };
Expand Down

0 comments on commit 2e28bf0

Please sign in to comment.