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
|
2023-09-05 01:41:32 +00:00
|
|
|
# - Create "v3.x.y" git tag
|
2023-10-29 01:54:47 +00:00
|
|
|
version = "3.3.0"
|
2023-09-05 01:41:32 +00:00
|
|
|
authors = ["Stjepan Glavina <stjepang@gmail.com>", "John Nunley <dev@notgull.net>"]
|
2023-10-08 05:46:23 +00:00
|
|
|
edition = "2021"
|
2023-06-11 17:37:25 +00:00
|
|
|
rust-version = "1.63"
|
2023-03-06 00:25:25 +00:00
|
|
|
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"
|
2023-03-06 00:25:25 +00:00
|
|
|
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
|
|
|
|
2022-08-21 10:47:00 +00:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
2020-08-06 13:02:59 +00:00
|
|
|
[dependencies]
|
2020-12-25 09:30:50 +00:00
|
|
|
cfg-if = "1"
|
2023-06-21 03:28:18 +00:00
|
|
|
tracing = { version = "0.1.37", default-features = false }
|
2020-08-06 13:02:59 +00:00
|
|
|
|
2021-05-26 12:57:38 +00:00
|
|
|
[target.'cfg(any(unix, target_os = "fuchsia", target_os = "vxworks"))'.dependencies]
|
2023-08-14 01:49:43 +00:00
|
|
|
rustix = { version = "0.38.8", features = ["event", "fs", "pipe", "process", "std", "time"], default-features = false }
|
2020-08-06 14:12:52 +00:00
|
|
|
|
2020-08-06 13:02:59 +00:00
|
|
|
[target.'cfg(windows)'.dependencies]
|
2023-04-09 05:05:37 +00:00
|
|
|
concurrent-queue = "2.2.0"
|
2023-03-06 00:25:25 +00:00
|
|
|
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",
|
2023-03-06 00:25:25 +00:00
|
|
|
"Win32_Networking_WinSock",
|
2023-08-09 03:40:21 +00:00
|
|
|
"Win32_Security",
|
2023-04-03 18:37:16 +00:00
|
|
|
"Win32_Storage_FileSystem",
|
2022-11-27 04:50:12 +00:00
|
|
|
"Win32_System_IO",
|
2023-03-06 00:25:25 +00:00
|
|
|
"Win32_System_LibraryLoader",
|
2023-04-03 18:37:16 +00:00
|
|
|
"Win32_System_Threading",
|
2023-03-06 00:25:25 +00:00
|
|
|
"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"
|
2023-07-16 10:12:07 +00:00
|
|
|
fastrand = "2.0.0"
|
2023-10-27 14:02:08 +00:00
|
|
|
|
|
|
|
[target.'cfg(unix)'.dev-dependencies]
|
|
|
|
libc = "0.2"
|
|
|
|
signal-hook = "0.3.17"
|