1 | [package] |
2 | name = "polling" |
3 | # When publishing a new version: |
4 | # - Update CHANGELOG.md |
5 | # - Create "v3.x.y" git tag |
6 | version = "3.5.0" |
7 | authors = ["Stjepan Glavina <stjepang@gmail.com>" , "John Nunley <dev@notgull.net>" ] |
8 | edition = "2021" |
9 | rust-version = "1.63" |
10 | description = "Portable interface to epoll, kqueue, event ports, and IOCP" |
11 | license = "Apache-2.0 OR MIT" |
12 | repository = "https://github.com/smol-rs/polling" |
13 | keywords = ["mio" , "epoll" , "kqueue" , "iocp" ] |
14 | categories = ["asynchronous" , "network-programming" , "os" ] |
15 | exclude = ["/.*" ] |
16 | |
17 | [package.metadata.docs.rs] |
18 | rustdoc-args = ["--cfg" , "docsrs" ] |
19 | |
20 | [dependencies] |
21 | cfg-if = "1" |
22 | tracing = { version = "0.1.37" , default-features = false } |
23 | |
24 | [target.'cfg(any(unix, target_os = "fuchsia", target_os = "vxworks"))'.dependencies] |
25 | rustix = { version = "0.38.31" , features = ["event" , "fs" , "pipe" , "process" , "std" , "time" ], default-features = false } |
26 | |
27 | [target.'cfg(windows)'.dependencies] |
28 | concurrent-queue = "2.2.0" |
29 | pin-project-lite = "0.2.9" |
30 | |
31 | [target.'cfg(windows)'.dependencies.windows-sys] |
32 | version = "0.52" |
33 | features = [ |
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] |
47 | easy-parallel = "3.1.0" |
48 | fastrand = "2.0.0" |
49 | socket2 = "0.5.5" |
50 | |
51 | [target.'cfg(unix)'.dev-dependencies] |
52 | libc = "0.2" |
53 | signal-hook = "0.3.17" |
54 | |