| 1 |
[package] |
| 2 |
name = "net2" |
| 3 |
version = "0.2.39" |
| 4 |
authors = ["Alex Crichton <[email protected]>"] |
| 5 |
license = "MIT/Apache-2.0" |
| 6 |
readme = "README.md" |
| 7 |
repository = "https://github.com/deprecrated/net2-rs" |
| 8 |
homepage = "https://github.com/deprecrated/net2-rs" |
| 9 |
documentation = "https://docs.rs/net2/~0.2" |
| 10 |
description = """ |
| 11 |
Extensions to the standard library's networking types as proposed in RFC 1158. |
| 12 |
""" |
| 13 |
include = [ |
| 14 |
"Cargo.toml", |
| 15 |
"LICENSE-APACHE", |
| 16 |
"LICENSE-MIT", |
| 17 |
"README.md", |
| 18 |
"src/**/*.rs" |
| 19 |
] |
| 20 |
|
| 21 |
[target."cfg(windows)".dependencies] |
| 22 |
winapi = { version = "0.3", features = ["handleapi", "winsock2", "ws2def", "ws2ipdef", "ws2tcpip"] } |
| 23 |
|
| 24 |
[target.'cfg(any(unix, target_os="wasi"))'.dependencies] |
| 25 |
libc = "0.2.139" |
| 26 |
|
| 27 |
[dependencies] |
| 28 |
cfg-if = "0.1" |
| 29 |
|
| 30 |
[features] |
| 31 |
nightly = [] |
| 32 |
duration = [] |
| 33 |
default = ["duration"] |