polling/Cargo.toml

52 lines
1.2 KiB
TOML

[package]
name = "polling"
# When publishing a new version:
# - Update CHANGELOG.md
# - Create "v2.x.y" git tag
version = "2.5.2"
authors = ["Stjepan Glavina <stjepang@gmail.com>"]
edition = "2018"
rust-version = "1.47"
description = "Portable interface to epoll, kqueue, event ports, and IOCP"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/smol-rs/polling"
keywords = ["mio", "epoll", "kqueue", "iocp"]
categories = ["asynchronous", "network-programming", "os"]
exclude = ["/.*"]
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = ["std"]
std = []
[dependencies]
cfg-if = "1"
log = "0.4.11"
[build-dependencies]
autocfg = "1"
[target.'cfg(any(unix, target_os = "fuchsia", target_os = "vxworks"))'.dependencies]
libc = "0.2.77"
[target.'cfg(windows)'.dependencies]
bitflags = "1.3.2"
concurrent-queue = "2.1.0"
pin-project-lite = "0.2.9"
[target.'cfg(windows)'.dependencies.windows-sys]
version = "0.45"
features = [
"Win32_Networking_WinSock",
"Win32_System_IO",
"Win32_System_LibraryLoader",
"Win32_System_WindowsProgramming",
"Win32_Storage_FileSystem",
"Win32_Foundation",
]
[dev-dependencies]
easy-parallel = "3.1.0"