1[package]
2name = "polling"
3# When publishing a new version:
4# - Update CHANGELOG.md
5# - Create "v3.x.y" git tag
6version = "3.7.4"
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[lints.rust]
21unexpected_cfgs = { level = "warn", check-cfg = ['cfg(polling_test_poll_backend)', 'cfg(polling_test_epoll_pipe)'] }
22
23[dependencies]
24cfg-if = "1"
25tracing = { version = "0.1.37", default-features = false }
26
27[target.'cfg(any(unix, target_os = "fuchsia", target_os = "vxworks"))'.dependencies.rustix]
28version = "0.38.31"
29features = ["event", "fs", "pipe", "process", "std", "time"]
30default-features = false
31
32[target.'cfg(windows)'.dependencies]
33concurrent-queue = "2.2.0"
34pin-project-lite = "0.2.9"
35
36[target.'cfg(windows)'.dependencies.windows-sys]
37version = "0.59"
38features = [
39 "Wdk_Foundation",
40 "Wdk_Storage_FileSystem",
41 "Win32_Foundation",
42 "Win32_Networking_WinSock",
43 "Win32_Security",
44 "Win32_Storage_FileSystem",
45 "Win32_System_IO",
46 "Win32_System_LibraryLoader",
47 "Win32_System_Threading",
48 "Win32_System_WindowsProgramming",
49]
50
51[target.'cfg(target_os = "hermit")'.dependencies.hermit-abi]
52version = "0.4.0"
53
54[dev-dependencies]
55easy-parallel = "3.1.0"
56fastrand = "2.0.0"
57socket2 = "0.5.5"
58
59[target.'cfg(unix)'.dev-dependencies]
60libc = "0.2"
61
62[target.'cfg(all(unix, not(target_os="vita")))'.dev-dependencies]
63signal-hook = "0.3.17"
64