From: 
Subject: Debian changes

The Debian packaging of python-netifaces2 is maintained in git, using a workflow
similar to the one described in dgit-maint-merge(7).
The Debian delta is represented by this one combined patch; there isn't a
patch queue that can be represented as a quilt series.

A detailed breakdown of the changes is available from their canonical
representation -- git commits in the packaging repository.
For example, to see the changes made by the Debian maintainer in the first
upload of upstream version 1.2.3, you could use:

    % git clone https://git.dgit.debian.org/python-netifaces2
    % cd python-netifaces2
    % git log --oneline 1.2.3..debian/1.2.3-1 -- . ':!debian'

(If you have dgit, use `dgit clone python-netifaces2`, rather than plain `git clone`.)

We don't use debian/source/options single-debian-patch because it has bugs.
Therefore, NMUs etc. may nevertheless have made additional patches.

---

diff --git a/Cargo.toml b/Cargo.toml
index 76a0422..b41a268 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -12,22 +12,9 @@ crate-type = ["cdylib"]
 log = "0.4.20"
 thiserror = "1.0.51"
 
-[target.'cfg(windows)'.dependencies]
-windows = { version = "0.42.0", features = [
-    "Data_Xml_Dom",
-    "Win32_Foundation",
-    "Win32_Security",
-    "Win32_System_Threading",
-    "Win32_UI_WindowsAndMessaging",
-    "Win32_NetworkManagement_Ndis",
-    "Win32_Networking_WinSock",
-    "Win32_NetworkManagement_NetManagement",
-    "Win32_NetworkManagement_IpHelper",
-    "Win32_Networking"] }
-
 [dependencies.pyo3]
-version = "0.17.1"
+version = "=0.28.2"
 features = ["extension-module", "abi3-py37"]
 
 [target.'cfg(unix)'.dependencies]
-nix = { version = "0.28.0", features = ["net"] }
+nix = { version = "0.30.1", features = ["net"] }
diff --git a/src/lib.rs b/src/lib.rs
index ca8c8f0..9672707 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -99,7 +99,7 @@ fn _ifaddresses(if_name: &str) -> PyResult<types::IfAddrs> {
 }
 
 #[pymodule]
-fn netifaces(_py: Python, m: &PyModule) -> PyResult<()> {
+fn netifaces(m: &Bound<'_, PyModule>) -> PyResult<()> {
     m.add_function(wrap_pyfunction!(_interfaces, m)?)?;
     m.add_function(wrap_pyfunction!(_interfaces_by_index, m)?)?;
     m.add_function(wrap_pyfunction!(_ifaddresses, m)?)?;
