1[package]
2edition = "2018"
3name = "mio"
4# When releasing to crates.io:
5# - Update html_root_url.
6# - Update CHANGELOG.md.
7# - Update doc URL.
8# - Create git tag
9version       = "0.7.0"
10license       = "MIT"
11authors       = ["Carl Lerche <me@carllerche.com>"]
12description   = "Lightweight non-blocking IO"
13documentation = "https://docs.rs/mio/0.7.0"
14homepage      = "https://github.com/tokio-rs/mio"
15repository    = "https://github.com/tokio-rs/mio"
16readme        = "README.md"
17keywords      = ["io", "async", "non-blocking"]
18categories    = ["asynchronous"]
19exclude       = [
20  ".gitignore",
21  ".travis.yml",
22]
23
24[features]
25default = []
26os-poll = []
27os-util = []
28tcp = []
29udp = []
30uds = []
31extra-docs = []
32
33[dependencies]
34log = "0.4.8"
35
36[target.'cfg(unix)'.dependencies]
37libc = "0.2.62"
38
39[target.'cfg(windows)'.dependencies]
40miow   = "0.3.3"
41winapi = { version = "0.3", features = ["winsock2", "mswsock"] }
42ntapi  = "0.3"
43lazy_static = "1.4.0"
44
45[dev-dependencies]
46env_logger = { version = "0.6.2", default-features = false }
47net2       = "0.2.33"
48
49[package.metadata.docs.rs]
50all-features = true
51rustdoc-args = ["--cfg", "docsrs"]
52
53[[example]]
54name = "tcp_server"
55required-features = ["os-poll", "tcp"]
56
57[[example]]
58name = "udp_server"
59required-features = ["os-poll", "udp"]
60