forked from rust-lang/socket2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
35 lines (29 loc) · 905 Bytes
/
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
[package]
name = "socket2"
version = "0.4.0-dev"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT/Apache-2.0"
readme = "README.md"
repository = "https://github.com/alexcrichton/socket2-rs"
homepage = "https://github.com/alexcrichton/socket2-rs"
description = """
Utilities for handling networking sockets with a maximal amount of configuration
possible intended.
"""
edition = "2018"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[target."cfg(windows)".dependencies.winapi]
version = "0.3.3"
features = ["handleapi", "ws2def", "ws2ipdef", "ws2tcpip", "minwindef"]
[target."cfg(any(unix, target_os = \"redox\"))".dependencies]
cfg-if = "1.0.0"
libc = "0.2.66"
[target."cfg(target_os = \"redox\")".dependencies]
redox_syscall = "0.1.38"
[dev-dependencies]
tempdir = "0.3"
[features]
# Enable all API, even ones not available on all OSes.
all = []