diff --git a/Cargo.toml b/Cargo.toml index 6679e4d..3c7b98c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "netdev" -version = "0.33.0" +version = "0.34.0" authors = ["shellrow "] edition = "2021" description = "Cross-platform library for network interface" @@ -12,7 +12,7 @@ license = "MIT" [dependencies] serde = { version = "1", features = ["derive"], optional = true } -ipnet = { version = "2.10" } +ipnet = { version = "2.11" } [target.'cfg(unix)'.dependencies] libc = "0.2" diff --git a/README.md b/README.md index aa0b474..7d2fcf6 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ This project was rebranded from [default-net][default-net-crates-io-url] by the Add `netdev` to your dependencies ```toml:Cargo.toml [dependencies] -netdev = "0.33" +netdev = "0.34" ``` For more details, see [examples][examples-url] or [doc][doc-url]. diff --git a/src/lib.rs b/src/lib.rs index 6c5849c..a9508d3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -14,3 +14,4 @@ pub use interface::get_default_interface; pub use interface::get_interfaces; pub use interface::Interface; pub use ipnet; +pub use mac::MacAddr;