1[package]
2name = "polling"
3# When publishing a new version:
4# - Update CHANGELOG.md
5# - Create "v2.x.y" git tag
6version = "2.8.0"
7authors = ["Stjepan Glavina <stjepang@gmail.com>"]
8edition = "2018"
9rust-version = "1.47"
10description = "Portable interface to epoll, kqueue, event ports, and IOCP"
11license = "Apache-2.0 OR MIT"
12repository = "https://github.com/smol-rs/polling"
13keywords = ["mio", "epoll", "kqueue", "iocp"]
14categories = ["asynchronous", "network-programming", "os"]
15exclude = ["/.*"]
16
17[package.metadata.docs.rs]
18rustdoc-args = ["--cfg", "docsrs"]
19
20[features]
21default = ["std"]
22std = []
23
24[dependencies]
25cfg-if = "1"
26log = "0.4.11"
27
28[build-dependencies]
29autocfg = "1"
30
31[target.'cfg(any(unix, target_os = "fuchsia", target_os = "vxworks"))'.dependencies]
32libc = "0.2.77"
33
34[target.'cfg(windows)'.dependencies]
35bitflags = "1.3.2"
36concurrent-queue = "2.2.0"
37pin-project-lite = "0.2.9"
38
39[target.'cfg(windows)'.dependencies.windows-sys]
40version = "0.48"
41features = [
42 "Win32_Foundation",
43 "Win32_Networking_WinSock",
44 "Win32_Storage_FileSystem",
45 "Win32_System_IO",
46 "Win32_System_LibraryLoader",
47 "Win32_System_Threading",
48 "Win32_System_WindowsProgramming",
49]
50
51[dev-dependencies]
52easy-parallel = "3.1.0"
53fastrand = "1.9.0"
54