1 | [package]
|
2 | name = "polling"
|
3 | # When publishing a new version:
|
4 | # - Update CHANGELOG.md
|
5 | # - Create "v2.x.y" git tag
|
6 | version = "2.8.0"
|
7 | authors = ["Stjepan Glavina <stjepang@gmail.com>" ]
|
8 | edition = "2018"
|
9 | rust-version = "1.47"
|
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 | [features]
|
21 | default = ["std" ]
|
22 | std = []
|
23 |
|
24 | [dependencies]
|
25 | cfg-if = "1"
|
26 | log = "0.4.11"
|
27 |
|
28 | [build-dependencies]
|
29 | autocfg = "1"
|
30 |
|
31 | [target.'cfg(any(unix, target_os = "fuchsia", target_os = "vxworks"))'.dependencies]
|
32 | libc = "0.2.77"
|
33 |
|
34 | [target.'cfg(windows)'.dependencies]
|
35 | bitflags = "1.3.2"
|
36 | concurrent-queue = "2.2.0"
|
37 | pin-project-lite = "0.2.9"
|
38 |
|
39 | [target.'cfg(windows)'.dependencies.windows-sys]
|
40 | version = "0.48"
|
41 | features = [
|
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]
|
52 | easy-parallel = "3.1.0"
|
53 | fastrand = "1.9.0"
|
54 | |