Set up works, daemon still bugs out
This commit is contained in:
parent
982cfc39b6
commit
98ce57bba0
6 changed files with 127 additions and 58 deletions
|
|
@ -15,10 +15,10 @@ log = "0.4"
|
|||
serde = { version = "1", features = ["derive"], optional = true }
|
||||
schemars = { version = "0.8", optional = true }
|
||||
|
||||
[target.'cfg(feature = "linux")'.dev-dependencies]
|
||||
rtnetlink = "0.14"
|
||||
|
||||
futures = { version = "0.3.28", optional = true }
|
||||
netlink-packet-route = "0.19.0"
|
||||
netlink-packet-core = "0.7.0"
|
||||
|
||||
|
||||
[features]
|
||||
serde = ["dep:serde", "dep:schemars"]
|
||||
|
|
@ -27,6 +27,9 @@ tokio = ["tokio/net", "dep:futures"]
|
|||
[target.'cfg(feature = "tokio")'.dev-dependencies]
|
||||
tokio = { features = ["rt", "macros"] }
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
interfaces = "0.0.9"
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
lazy_static = "1.4"
|
||||
libloading = "0.7"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue