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
|
2021-11-10 10:31:42 +00:00
|
|
|
version = "2.2.0"
|
2020-08-06 13:02:59 +00:00
|
|
|
authors = ["Stjepan Glavina <stjepang@gmail.com>"]
|
|
|
|
edition = "2018"
|
2020-08-11 11:18:14 +00:00
|
|
|
description = "Portable interface to epoll, kqueue, event ports, and wepoll"
|
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"
|
|
|
|
homepage = "https://github.com/smol-rs/polling"
|
2020-08-06 13:02:59 +00:00
|
|
|
documentation = "https://docs.rs/polling"
|
|
|
|
keywords = ["mio", "epoll", "kqueue", "iocp", "wepoll"]
|
|
|
|
categories = ["asynchronous", "network-programming", "os"]
|
|
|
|
|
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
|
|
|
|
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"
|
2020-08-06 14:12:52 +00:00
|
|
|
|
2020-08-06 13:02:59 +00:00
|
|
|
[target.'cfg(windows)'.dependencies]
|
2021-05-27 04:24:11 +00:00
|
|
|
wepoll-ffi = { version = "0.1.2", features = ["null-overlapped-wakeups-patch"] }
|
2020-10-02 17:25:43 +00:00
|
|
|
winapi = { version = "0.3.9", features = ["ioapiset", "winsock2"] }
|
2020-09-16 09:23:03 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
easy-parallel = "3.1.0"
|