• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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]
13edition = "2018"
14name = "mio"
15version = "0.8.6"
16authors = [
17    "Carl Lerche <me@carllerche.com>",
18    "Thomas de Zeeuw <thomasdezeeuw@gmail.com>",
19    "Tokio Contributors <team@tokio.rs>",
20]
21include = [
22    "Cargo.toml",
23    "LICENSE",
24    "README.md",
25    "CHANGELOG.md",
26    "src/**/*.rs",
27    "examples/**/*.rs",
28]
29description = "Lightweight non-blocking I/O."
30homepage = "https://github.com/tokio-rs/mio"
31readme = "README.md"
32keywords = [
33    "io",
34    "async",
35    "non-blocking",
36]
37categories = ["asynchronous"]
38license = "MIT"
39repository = "https://github.com/tokio-rs/mio"
40
41[package.metadata.docs.rs]
42all-features = true
43rustdoc-args = [
44    "--cfg",
45    "docsrs",
46]
47targets = [
48    "aarch64-apple-ios",
49    "aarch64-linux-android",
50    "wasm32-wasi",
51    "x86_64-apple-darwin",
52    "x86_64-pc-windows-msvc",
53    "x86_64-unknown-dragonfly",
54    "x86_64-unknown-freebsd",
55    "x86_64-unknown-illumos",
56    "x86_64-unknown-linux-gnu",
57    "x86_64-unknown-netbsd",
58    "x86_64-unknown-openbsd",
59]
60
61[package.metadata.playground]
62features = [
63    "os-poll",
64    "os-ext",
65    "net",
66]
67
68[[example]]
69name = "tcp_server"
70required-features = [
71    "os-poll",
72    "net",
73]
74
75[[example]]
76name = "tcp_listenfd_server"
77required-features = [
78    "os-poll",
79    "net",
80]
81
82[[example]]
83name = "udp_server"
84required-features = [
85    "os-poll",
86    "net",
87]
88
89[dependencies.log]
90version = "0.4.8"
91
92[dev-dependencies.env_logger]
93version = "0.8.4"
94default-features = false
95
96[dev-dependencies.rand]
97version = "0.8"
98
99[features]
100default = []
101net = []
102os-ext = [
103    "os-poll",
104    "windows-sys/Win32_System_Pipes",
105    "windows-sys/Win32_Security",
106]
107os-poll = []
108
109[target."cfg(target_os = \"wasi\")".dependencies.libc]
110version = "0.2.121"
111
112[target."cfg(target_os = \"wasi\")".dependencies.wasi]
113version = "0.11.0"
114
115[target."cfg(unix)".dependencies.libc]
116version = "0.2.121"
117
118[target."cfg(windows)".dependencies.windows-sys]
119version = "0.45"
120features = [
121    "Win32_Foundation",
122    "Win32_Networking_WinSock",
123    "Win32_Storage_FileSystem",
124    "Win32_System_IO",
125    "Win32_System_WindowsProgramming",
126]
127