netlink-sys 0.9.0

netlink sockets, with optional integration with tokio
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "netlink-sys"
version = "0.9.0"
authors = ["Corentin Henry <corentinhenry@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "netlink sockets, with optional integration with tokio"
homepage = "https://github.com/rust-netlink/netlink-sys"
readme = "README.md"
keywords = [
    "netlink",
    "ip",
    "linux",
]
license = "MIT"
repository = "https://github.com/rust-netlink/netlink-sys"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--generate-link-to-definition"]

[features]
default = []
mio_socket = ["mio"]
smol_socket = [
    "async-io",
    "futures-util",
]
tokio_socket = [
    "tokio",
    "futures-util",
]

[lib]
name = "netlink_sys"
path = "src/lib.rs"

[[example]]
name = "audit_events"
path = "examples/audit_events.rs"

[[example]]
name = "audit_events_async_std"
path = "examples/audit_events_async_std.rs"
required-features = ["smol_socket"]

[[example]]
name = "audit_events_tokio"
path = "examples/audit_events_tokio.rs"
required-features = ["tokio_socket"]

[[example]]
name = "audit_events_tokio_manual_thread_builder"
path = "examples/audit_events_tokio_manual_thread_builder.rs"
required-features = ["tokio_socket"]

[dependencies.async-io]
version = "2"
optional = true

[dependencies.bytes]
version = "1.8"

[dependencies.futures-util]
version = "0.3.31"
optional = true

[dependencies.libc]
version = "0.2.164"

[dependencies.log]
version = "0.4.8"

[dependencies.mio]
version = "1.0"
features = [
    "os-poll",
    "os-ext",
]
optional = true

[dependencies.tokio]
version = "1.41.1"
features = ["net"]
optional = true
default-features = false

[dev-dependencies.async-std]
version = "1.13"
features = ["attributes"]

[dev-dependencies.netlink-packet-audit]
version = "0.6.1"

[dev-dependencies.netlink-packet-core]
version = "0.9.0"

[dev-dependencies.tokio]
version = "1.0.1"
features = [
    "net",
    "macros",
    "rt-multi-thread",
]
default-features = false