Debian Codegraph @

debian/rust-vendor/mio/Cargo.toml

raw
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2021"
14 rust-version = "1.71"
15 name = "mio"
16 version = "1.2.2"
17 authors = [
18 "Carl Lerche <[email protected]>",
19 "Thomas de Zeeuw <[email protected]>",
20 "Tokio Contributors <[email protected]>",
21 ]
22 build = false
23 include = [
24 "Cargo.toml",
25 "LICENSE",
26 "README.md",
27 "CHANGELOG.md",
28 "src/**/*.rs",
29 "examples/**/*.rs",
30 ]
31 autolib = false
32 autobins = false
33 autoexamples = false
34 autotests = false
35 autobenches = false
36 description = "Lightweight non-blocking I/O."
37 homepage = "https://github.com/tokio-rs/mio"
38 readme = "README.md"
39 keywords = [
40 "io",
41 "async",
42 "non-blocking",
43 ]
44 categories = ["asynchronous"]
45 license = "MIT"
46 repository = "https://github.com/tokio-rs/mio"
47
48 [package.metadata.docs.rs]
49 all-features = true
50 rustdoc-args = [
51 "--cfg",
52 "docsrs",
53 "--generate-link-to-definition",
54 ]
55 targets = [
56 "aarch64-apple-ios",
57 "aarch64-linux-android",
58 "wasm32-wasip1",
59 "x86_64-apple-darwin",
60 "x86_64-pc-windows-gnu",
61 "x86_64-pc-windows-msvc",
62 "x86_64-unknown-dragonfly",
63 "x86_64-unknown-freebsd",
64 "x86_64-unknown-illumos",
65 "x86_64-unknown-linux-gnu",
66 "x86_64-unknown-netbsd",
67 "x86_64-unknown-openbsd",
68 "x86_64-unknown-hermit",
69 ]
70
71 [package.metadata.playground]
72 features = [
73 "os-poll",
74 "os-ext",
75 "net",
76 ]
77
78 [features]
79 default = ["log"]
80 net = []
81 os-ext = [
82 "os-poll",
83 "windows-sys/Win32_System_Pipes",
84 "windows-sys/Win32_Security",
85 ]
86 os-poll = []
87
88 [lib]
89 name = "mio"
90 path = "src/lib.rs"
91
92 [[example]]
93 name = "tcp_listenfd_server"
94 path = "examples/tcp_listenfd_server.rs"
95 required-features = [
96 "os-poll",
97 "net",
98 ]
99
100 [[example]]
101 name = "tcp_server"
102 path = "examples/tcp_server.rs"
103 required-features = [
104 "os-poll",
105 "net",
106 ]
107
108 [[example]]
109 name = "udp_server"
110 path = "examples/udp_server.rs"
111 required-features = [
112 "os-poll",
113 "net",
114 ]
115
116 [dependencies.log]
117 version = "0.4.8"
118 optional = true
119
120 [dev-dependencies.env_logger]
121 version = "0.11"
122 default-features = false
123
124 [dev-dependencies.rand]
125 version = "0.9"
126
127 [target.'cfg(any(unix, target_os = "hermit", target_os = "wasi"))'.dependencies.libc]
128 version = "0.2.183"
129
130 [target.'cfg(target_os = "wasi")'.dependencies.wasi]
131 version = "0.11.0"
132
133 [target."cfg(windows)".dependencies.windows-sys]
134 version = "0.61"
135 features = [
136 "Wdk_Foundation",
137 "Wdk_Storage_FileSystem",
138 "Wdk_System_IO",
139 "Win32_Foundation",
140 "Win32_Networking_WinSock",
141 "Win32_Storage_FileSystem",
142 "Win32_Security",
143 "Win32_System_IO",
144 "Win32_System_WindowsProgramming",
145 ]
146
147 [lints.rust.unexpected_cfgs]
148 level = "warn"
149 priority = 0
150 check-cfg = [
151 "cfg(mio_unsupported_force_poll_poll)",
152 "cfg(mio_unsupported_force_waker_pipe)",
153 ]