2022-10-04 05:02:18 +03:00
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[ package ]
edition = "2018"
name = "mio"
2024-02-29 18:27:23 +03:00
version = "0.8.10"
2022-10-04 05:02:18 +03:00
authors = [
"Carl Lerche <me@carllerche.com>" ,
"Thomas de Zeeuw <thomasdezeeuw@gmail.com>" ,
"Tokio Contributors <team@tokio.rs>" ,
]
include = [
"Cargo.toml" ,
"LICENSE" ,
"README.md" ,
"CHANGELOG.md" ,
"src/**/*.rs" ,
"examples/**/*.rs" ,
]
2024-02-29 18:27:23 +03:00
description = "Lightweight non-blocking I/O."
2022-10-04 05:02:18 +03:00
homepage = "https://github.com/tokio-rs/mio"
readme = "README.md"
keywords = [
"io" ,
"async" ,
"non-blocking" ,
]
categories = [ "asynchronous" ]
license = "MIT"
repository = "https://github.com/tokio-rs/mio"
[ package . metadata . docs . rs ]
all-features = true
rustdoc-args = [
"--cfg" ,
"docsrs" ,
2024-02-29 18:27:23 +03:00
"--generate-link-to-definition" ,
2022-10-04 05:02:18 +03:00
]
targets = [
"aarch64-apple-ios" ,
"aarch64-linux-android" ,
"wasm32-wasi" ,
"x86_64-apple-darwin" ,
"x86_64-pc-windows-msvc" ,
"x86_64-unknown-dragonfly" ,
"x86_64-unknown-freebsd" ,
"x86_64-unknown-illumos" ,
"x86_64-unknown-linux-gnu" ,
"x86_64-unknown-netbsd" ,
"x86_64-unknown-openbsd" ,
]
[ package . metadata . playground ]
features = [
"os-poll" ,
"os-ext" ,
"net" ,
]
[ [ example ] ]
name = "tcp_server"
required-features = [
"os-poll" ,
"net" ,
]
[ [ example ] ]
name = "tcp_listenfd_server"
required-features = [
"os-poll" ,
"net" ,
]
[ [ example ] ]
name = "udp_server"
required-features = [
"os-poll" ,
"net" ,
]
[ dependencies . log ]
version = "0.4.8"
2024-02-29 18:27:23 +03:00
optional = true
2022-10-04 05:02:18 +03:00
[ dev-dependencies . env_logger ]
2024-02-29 18:27:23 +03:00
version = "0.9.3"
2022-10-04 05:02:18 +03:00
default-features = false
[ dev-dependencies . rand ]
version = "0.8"
[ features ]
2024-02-29 18:27:23 +03:00
default = [ "log" ]
2022-10-04 05:02:18 +03:00
net = [ ]
os-ext = [
"os-poll" ,
"windows-sys/Win32_System_Pipes" ,
"windows-sys/Win32_Security" ,
]
os-poll = [ ]
[ target . "cfg(target_os = \"wasi\")" . dependencies . libc ]
2024-02-29 18:27:23 +03:00
version = "0.2.149"
2022-10-04 05:02:18 +03:00
[ target . "cfg(target_os = \"wasi\")" . dependencies . wasi ]
version = "0.11.0"
[ target . "cfg(unix)" . dependencies . libc ]
2024-02-29 18:27:23 +03:00
version = "0.2.149"
2022-10-04 05:02:18 +03:00
[ target . "cfg(windows)" . dependencies . windows-sys ]
2024-02-29 18:27:23 +03:00
version = "0.48"
2022-10-04 05:02:18 +03:00
features = [
"Win32_Foundation" ,
"Win32_Networking_WinSock" ,
2024-02-29 18:27:23 +03:00
"Win32_Storage_FileSystem" ,
2022-10-04 05:02:18 +03:00
"Win32_System_IO" ,
"Win32_System_WindowsProgramming" ,
]