[package]
edition = "2021"
name = "rlldpctl"
version = "1.0.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust client for lldpd's control socket (no FFI, no liblldpctl)"
readme = "README.md"
keywords = [
"lldp",
"lldpd",
"networking",
"discovery",
]
categories = [
"network-programming",
"api-bindings",
]
license = "MIT"
repository = "https://github.com/sntns/rlldpctl"
[package.metadata.release]
sign-commit = false
push = true
publish = true
allow-branch = ["main"]
pre-release-commit-message = "Release {{version}}"
tag-message = "Release {{version}}"
tag-name = "v{{version}}"
[features]
default = []
tokio = ["dep:tokio"]
[lib]
name = "rlldpctl"
path = "src/lib.rs"
[[example]]
name = "show_neighbors"
path = "examples/show_neighbors.rs"
[[example]]
name = "show_neighbors_async"
path = "examples/show_neighbors_async.rs"
required-features = ["tokio"]
[[example]]
name = "watch_neighbors"
path = "examples/watch_neighbors.rs"
[[example]]
name = "watch_neighbors_async"
path = "examples/watch_neighbors_async.rs"
required-features = ["tokio"]
[[test]]
name = "async_integration"
path = "tests/async_integration.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1"
features = [
"net",
"io-util",
]
optional = true
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"rt-multi-thread",
"macros",
"time",
]