# 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 = "2018"
name = "netlink-sys-mio-0-8"
version = "0.8.3"
authors = [
    "Hugo Cuenca <hugo.cuenca.arana@gmail.com>",
    "Corentin Henry <corentinhenry@gmail.com>",
]
description = "netlink sockets, with optional integration with tokio (updated for mio 0.8)"
homepage = "https://github.com/hugo-cuenca/netlink"
readme = "../README.md"
keywords = [
    "netlink",
    "ip",
    "linux",
]
license = "MIT"
repository = "https://github.com/hugo-cuenca/netlink"

[[example]]
name = "audit_events"

[[example]]
name = "audit_events_tokio"
required-features = ["tokio_socket"]

[[example]]
name = "audit_events_tokio_manual_thread_builder"
required-features = ["tokio_socket"]

[[example]]
name = "audit_events_async_std"
required-features = ["smol_socket"]

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

[dependencies.bytes]
version = "1.0"

[dependencies.futures]
version = "0.3.1"
optional = true

[dependencies.libc]
version = "0.2.66"

[dependencies.log]
version = "0.4.8"

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

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

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

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

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

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