laputa-polling 0.3.0

Portable interface to epoll, kqueue, event ports, and poll
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"
rust-version = "1.85"
name = "laputa-polling"
version = "0.3.0"
authors = [
    "Stjepan Glavina <stjepang@gmail.com>",
    "John Nunley <dev@notgull.net>",
]
build = false
exclude = ["/.*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Portable interface to epoll, kqueue, event ports, and poll"
readme = "README.md"
keywords = [
    "mio",
    "epoll",
    "kqueue",
    "poll",
]
categories = [
    "asynchronous",
    "network-programming",
    "os",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/laputa-systems/smolith"

[package.metadata.docs.rs]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

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

[[example]]
name = "two-listeners"
path = "examples/two-listeners.rs"

[[example]]
name = "wait-signal"
path = "examples/wait-signal.rs"

[[test]]
name = "concurrent_modification"
path = "tests/concurrent_modification.rs"

[[test]]
name = "io"
path = "tests/io.rs"

[[test]]
name = "many_connections"
path = "tests/many_connections.rs"

[[test]]
name = "multiple_pollers"
path = "tests/multiple_pollers.rs"

[[test]]
name = "notify"
path = "tests/notify.rs"

[[test]]
name = "notify_clear"
path = "tests/notify_clear.rs"

[[test]]
name = "other_modes"
path = "tests/other_modes.rs"

[[test]]
name = "precision"
path = "tests/precision.rs"

[[test]]
name = "timeout"
path = "tests/timeout.rs"

[dependencies.cfg-if]
version = "1"

[dependencies.tracing]
version = "0.1.37"
optional = true
default-features = false

[dev-dependencies.socket2]
version = "0.6.0"

[target.'cfg(all(unix, not(target_os="vita")))'.dev-dependencies.signal-hook]
version = "0.4"

[target.'cfg(any(unix, target_os = "fuchsia", target_os = "vxworks"))'.dependencies.rustix]
version = "1.0.5"
features = [
    "event",
    "fs",
    "pipe",
    "process",
    "std",
    "time",
]
default-features = false

[target.'cfg(target_os = "hermit")'.dependencies.hermit-abi]
version = "0.5.0"

[target."cfg(unix)".dev-dependencies.libc]
version = "0.2"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(polling_test_poll_backend)",
    "cfg(polling_test_epoll_pipe)",
]