1[package]
2name = "polling"
3# When publishing a new version:
4# - Update CHANGELOG.md
5# - Create "v3.x.y" git tag
6version = "3.5.0"
7authors = ["Stjepan Glavina <stjepang@gmail.com>", "John Nunley <dev@notgull.net>"]
8edition = "2021"
9rust-version = "1.63"
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[dependencies]
21cfg-if = "1"
22tracing = { version = "0.1.37", default-features = false }
23
24[target.'cfg(any(unix, target_os = "fuchsia", target_os = "vxworks"))'.dependencies]
25rustix = { version = "0.38.31", features = ["event", "fs", "pipe", "process", "std", "time"], default-features = false }
26
27[target.'cfg(windows)'.dependencies]
28concurrent-queue = "2.2.0"
29pin-project-lite = "0.2.9"
30
31[target.'cfg(windows)'.dependencies.windows-sys]
32version = "0.52"
33features = [
34 "Wdk_Foundation",
35 "Wdk_Storage_FileSystem",
36 "Win32_Foundation",
37 "Win32_Networking_WinSock",
38 "Win32_Security",
39 "Win32_Storage_FileSystem",
40 "Win32_System_IO",
41 "Win32_System_LibraryLoader",
42 "Win32_System_Threading",
43 "Win32_System_WindowsProgramming",
44]
45
46[dev-dependencies]
47easy-parallel = "3.1.0"
48fastrand = "2.0.0"
49socket2 = "0.5.5"
50
51[target.'cfg(unix)'.dev-dependencies]
52libc = "0.2"
53signal-hook = "0.3.17"
54