forked from tokio-rs/mio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
68 lines (59 loc) · 1.59 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[package]
edition = "2018"
name = "mio"
# When releasing to crates.io:
# - Update html_root_url.
# - Update CHANGELOG.md.
# - Update doc URL.
# - Create git tag
version = "0.7.0-alpha.1"
license = "MIT"
authors = ["Carl Lerche <me@carllerche.com>"]
description = "Lightweight non-blocking IO"
documentation = "https://docs.rs/mio/0.7.0-alpha.1/mio/"
homepage = "https://github.com/tokio-rs/mio"
repository = "https://github.com/tokio-rs/mio"
readme = "README.md"
keywords = ["io", "async", "non-blocking"]
categories = ["asynchronous"]
exclude = [
".gitignore",
".travis.yml",
]
publish = false
[features]
default = []
# Include implementations of I/O source readiness polling.
os-poll = []
# Include adapters for underlying OS I/O sources.
# Note: This is currently only supported on Unix and provides `SourceFd`
os-util = []
# Include TCP primitives
tcp = []
# Include UDP primitives
udp = []
# Include UDS primitives
uds = []
# Adds additional documentation in the form of a user guide.
guide = []
[dependencies]
log = "0.4.8"
[target.'cfg(unix)'.dependencies]
libc = "0.2.62"
[target.'cfg(windows)'.dependencies]
miow = "0.3.3"
winapi = { version = "0.3", features = ["winsock2", "mswsock"] }
ntapi = "0.3"
lazy_static = "1.4.0"
[dev-dependencies]
env_logger = { version = "0.6.2", default-features = false }
net2 = "0.2.33"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[example]]
name = "tcp_server"
required-features = ["os-poll", "tcp"]
[[example]]
name = "udp_server"
required-features = ["os-poll", "udp"]