| 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.7.4" |
| 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 | [lints.rust] |
| 21 | unexpected_cfgs = { level = "warn" , check-cfg = ['cfg(polling_test_poll_backend)' , 'cfg(polling_test_epoll_pipe)' ] } |
| 22 | |
| 23 | [dependencies] |
| 24 | cfg-if = "1" |
| 25 | tracing = { version = "0.1.37" , default-features = false } |
| 26 | |
| 27 | [target.'cfg(any(unix, target_os = "fuchsia", target_os = "vxworks"))'.dependencies.rustix] |
| 28 | version = "0.38.31" |
| 29 | features = ["event" , "fs" , "pipe" , "process" , "std" , "time" ] |
| 30 | default-features = false |
| 31 | |
| 32 | [target.'cfg(windows)'.dependencies] |
| 33 | concurrent-queue = "2.2.0" |
| 34 | pin-project-lite = "0.2.9" |
| 35 | |
| 36 | [target.'cfg(windows)'.dependencies.windows-sys] |
| 37 | version = "0.59" |
| 38 | features = [ |
| 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] |
| 52 | version = "0.4.0" |
| 53 | |
| 54 | [dev-dependencies] |
| 55 | easy-parallel = "3.1.0" |
| 56 | fastrand = "2.0.0" |
| 57 | socket2 = "0.5.5" |
| 58 | |
| 59 | [target.'cfg(unix)'.dev-dependencies] |
| 60 | libc = "0.2" |
| 61 | |
| 62 | [target.'cfg(all(unix, not(target_os="vita")))'.dev-dependencies] |
| 63 | signal-hook = "0.3.17" |
| 64 | |