Try to make it compile on freebsd (#53)

This commit is contained in:
Igor Katson 2023-12-12 11:02:19 +00:00 committed by GitHub
parent 29c2db1ab4
commit dde91deeb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

3
Cargo.lock generated
View file

@ -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",

View file

@ -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"]}