diff --git a/Cargo.lock b/Cargo.lock index f4b6fc24..5c0b9bad 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1507,8 +1507,7 @@ dependencies = [ [[package]] name = "network-interface" version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d68759ef97fe9c9e46f79ea8736c19f1d28992e24c8dc8ce86752918bfeaae7" +source = "git+https://github.com/ikatson/network-interface?branch=compile-on-freebsd#4d36a2e91aaa4b737bdf5bf3c77c95774a76e4ac" dependencies = [ "cc", "libc", diff --git a/crates/upnp/Cargo.toml b/crates/upnp/Cargo.toml index 34fd2b6f..f6a04c27 100644 --- a/crates/upnp/Cargo.toml +++ b/crates/upnp/Cargo.toml @@ -21,7 +21,7 @@ tokio = {version = "1", features = ["macros"]} futures = "0.3" url = "2" async-recursion = "1" -network-interface = "1" +network-interface = { git = 'https://github.com/ikatson/network-interface', branch = "compile-on-freebsd" } [dev-dependencies] tokio = {version = "1", features = ["macros", "rt-multi-thread"]}