blob: 62090ff0b7f5bf6ce93b0a6974079de1b8606dd0 [file] [log] [blame]
Joel Galenson4bf0c302020-10-23 08:03:13 -07001# 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 believe there's an error in this file please file an
9# issue against the rust-lang/cargo repository. If you're
10# editing this file be aware that the upstream Cargo.toml
11# will likely look very different (and much more reasonable)
12
13[package]
14edition = "2018"
15name = "mio"
Joel Galensonaa25fe62021-04-01 17:18:00 -070016version = "0.7.11"
Haibo Huang0cb7a8f2021-01-05 21:36:04 -080017authors = ["Carl Lerche <me@carllerche.com>", "Thomas de Zeeuw <thomasdezeeuw@gmail.com>", "Tokio Contributors <team@tokio.rs>"]
Joel Galenson4bf0c302020-10-23 08:03:13 -070018include = ["Cargo.toml", "LICENSE", "README.md", "CHANGELOG.md", "src/**/*.rs", "examples/**/*.rs"]
19description = "Lightweight non-blocking IO"
20homepage = "https://github.com/tokio-rs/mio"
Haibo Huang0cb7a8f2021-01-05 21:36:04 -080021documentation = "https://docs.rs/mio/0.7.7"
Joel Galenson4bf0c302020-10-23 08:03:13 -070022readme = "README.md"
23keywords = ["io", "async", "non-blocking"]
24categories = ["asynchronous"]
25license = "MIT"
26repository = "https://github.com/tokio-rs/mio"
27[package.metadata.docs.rs]
28all-features = true
29rustdoc-args = ["--cfg", "docsrs"]
Haibo Huang0cb7a8f2021-01-05 21:36:04 -080030targets = ["aarch64-apple-ios", "aarch64-linux-android", "x86_64-apple-darwin", "x86_64-pc-windows-msvc", "x86_64-sun-solaris", "x86_64-unknown-dragonfly", "x86_64-unknown-freebsd", "x86_64-unknown-linux-gnu", "x86_64-unknown-netbsd", "x86_64-unknown-openbsd"]
Joel Galenson4bf0c302020-10-23 08:03:13 -070031
32[package.metadata.playground]
Haibo Huangb871bf72020-11-16 17:42:39 -080033features = ["os-poll", "os-ext", "net"]
Joel Galenson4bf0c302020-10-23 08:03:13 -070034
35[[example]]
36name = "tcp_server"
Haibo Huangb871bf72020-11-16 17:42:39 -080037required-features = ["os-poll", "net"]
Joel Galenson4bf0c302020-10-23 08:03:13 -070038
39[[example]]
40name = "udp_server"
Haibo Huangb871bf72020-11-16 17:42:39 -080041required-features = ["os-poll", "net"]
Joel Galenson4bf0c302020-10-23 08:03:13 -070042[dependencies.log]
43version = "0.4.8"
44[dev-dependencies.env_logger]
45version = "0.6.2"
46default-features = false
47
Joel Galenson4bf0c302020-10-23 08:03:13 -070048[dev-dependencies.rand]
49version = "0.4"
50
Joel Galenson4bf0c302020-10-23 08:03:13 -070051[features]
52default = []
53extra-docs = []
Haibo Huangb871bf72020-11-16 17:42:39 -080054net = []
55os-ext = ["os-poll"]
Joel Galenson4bf0c302020-10-23 08:03:13 -070056os-poll = []
Haibo Huangb871bf72020-11-16 17:42:39 -080057os-util = ["os-ext"]
58pipe = ["os-ext"]
59tcp = ["net"]
60udp = ["net"]
61uds = ["net"]
Joel Galenson4bf0c302020-10-23 08:03:13 -070062[target."cfg(unix)".dependencies.libc]
Haibo Huang800e8642021-02-17 19:53:43 -080063version = "0.2.86"
Joel Galenson4bf0c302020-10-23 08:03:13 -070064[target."cfg(windows)".dependencies.miow]
Haibo Huangb871bf72020-11-16 17:42:39 -080065version = "0.3.6"
Joel Galenson4bf0c302020-10-23 08:03:13 -070066
67[target."cfg(windows)".dependencies.ntapi]
68version = "0.3"
69
70[target."cfg(windows)".dependencies.winapi]
71version = "0.3"
Joel Galensonaa25fe62021-04-01 17:18:00 -070072features = ["winsock2", "mswsock", "mstcpip"]