Source code

Revision control

Copy as Markdown

Other Tools

# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
name = "net2"
version = "0.2.38"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
include = [
"Cargo.toml",
"LICENSE-APACHE",
"LICENSE-MIT",
"README.md",
"src/**/*.rs",
]
description = """
Extensions to the standard library's networking types as proposed in RFC 1158.
"""
documentation = "https://docs.rs/net2/~0.2"
readme = "README.md"
license = "MIT/Apache-2.0"
[dependencies.cfg-if]
version = "0.1"
[features]
default = ["duration"]
duration = []
nightly = []
[target."cfg(any(unix, target_os=\"wasi\"))".dependencies.libc]
version = "0.2.54"
[target."cfg(windows)".dependencies.winapi]
version = "0.3"
features = [
"handleapi",
"winsock2",
"ws2def",
"ws2ipdef",
"ws2tcpip",
]