[build-dependencies.bindgen]
version = "0.71"
[dependencies.async-io]
optional = true
version = "2.3"
[dependencies.libc]
version = "0.2.170"
[dependencies.tokio]
features = ["net", "macros", "io-util", "rt"]
optional = true
version = "1"
[dev-dependencies.tokio]
features = ["full"]
version = "1.43.0"
[[example]]
name = "add"
path = "examples/add.rs"
[[example]]
name = "delete"
path = "examples/delete.rs"
[[example]]
name = "find_route"
path = "examples/find_route.rs"
[[example]]
name = "list"
path = "examples/list.rs"
[[example]]
name = "listen"
path = "examples/listen.rs"
[[example]]
name = "listen_async"
path = "examples/listen_async.rs"
[features]
async = ["tokio"]
async_io = ["async-io"]
default = []
shutdown = []
[lib]
crate-type = ["staticlib", "cdylib", "lib"]
name = "route_manager"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
description = "Cross-platform route management interface"
edition = "2021"
keywords = ["route", "network", "ip"]
license = "Apache-2.0"
name = "route_manager"
readme = "README.md"
repository = "https://github.com/rustp2p/route_manager"
version = "0.1.3"
[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc", "aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-freebsd"]
[target.'cfg(target_os = "linux")'.dependencies.netlink-packet-core]
version = "0.7.0"
[target.'cfg(target_os = "linux")'.dependencies.netlink-packet-route]
version = "0.21.0"
[target.'cfg(target_os = "linux")'.dependencies.netlink-sys]
version = "0.8.7"
[target.'cfg(target_os = "windows")'.dependencies.flume]
version = "0.11"
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
features = ["Win32_System_Diagnostics_Debug", "Win32_System_SystemServices", "Win32_Security_Cryptography", "Win32_NetworkManagement_IpHelper", "Win32_NetworkManagement_Ndis", "Win32_Networking_WinSock", "Win32_System_Threading", "Win32_System_Com", "Win32_System_Rpc", "Win32_Security", "Win32_Foundation", "Win32_System_Ioctl", "Win32_System_IO", "Win32_System_LibraryLoader", "Win32_Security_WinTrust"]
version = "0.59"