polling/Cargo.toml

55 lines
1.3 KiB
TOML
Raw Normal View History

2020-08-06 13:02:59 +00:00
[package]
name = "polling"
2021-03-20 10:04:14 +00:00
# When publishing a new version:
# - Update CHANGELOG.md
# - Create "v2.x.y" git tag
2023-04-20 21:50:12 +00:00
version = "2.8.0"
2020-08-06 13:02:59 +00:00
authors = ["Stjepan Glavina <stjepang@gmail.com>"]
edition = "2018"
rust-version = "1.48"
description = "Portable interface to epoll, kqueue, event ports, and IOCP"
2020-08-06 13:02:59 +00:00
license = "Apache-2.0 OR MIT"
2020-12-26 14:47:13 +00:00
repository = "https://github.com/smol-rs/polling"
keywords = ["mio", "epoll", "kqueue", "iocp"]
2020-08-06 13:02:59 +00:00
categories = ["asynchronous", "network-programming", "os"]
2022-01-08 16:50:42 +00:00
exclude = ["/.*"]
2020-08-06 13:02:59 +00:00
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
2020-09-20 15:45:24 +00:00
[features]
default = ["std"]
std = []
2020-08-06 13:02:59 +00:00
[dependencies]
2020-12-25 09:30:50 +00:00
cfg-if = "1"
2020-08-29 14:00:59 +00:00
log = "0.4.11"
2020-08-06 13:02:59 +00:00
[build-dependencies]
autocfg = "1"
2021-05-26 12:57:38 +00:00
[target.'cfg(any(unix, target_os = "fuchsia", target_os = "vxworks"))'.dependencies]
2020-09-16 09:23:03 +00:00
libc = "0.2.77"
rustix = { version = "0.37.11", features = ["process", "time", "fs", "std"], default-features = false }
2020-08-06 13:02:59 +00:00
[target.'cfg(windows)'.dependencies]
bitflags = "1.3.2"
concurrent-queue = "2.2.0"
pin-project-lite = "0.2.9"
2022-11-27 04:50:12 +00:00
[target.'cfg(windows)'.dependencies.windows-sys]
2023-04-03 18:37:16 +00:00
version = "0.48"
2022-11-27 04:50:12 +00:00
features = [
2023-04-03 18:37:16 +00:00
"Win32_Foundation",
"Win32_Networking_WinSock",
2023-04-03 18:37:16 +00:00
"Win32_Storage_FileSystem",
2022-11-27 04:50:12 +00:00
"Win32_System_IO",
"Win32_System_LibraryLoader",
2023-04-03 18:37:16 +00:00
"Win32_System_Threading",
"Win32_System_WindowsProgramming",
2022-11-27 04:50:12 +00:00
]
2020-09-16 09:23:03 +00:00
[dev-dependencies]
easy-parallel = "3.1.0"
fastrand = "1.9.0"