| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.63" |
| 15 |
name = "socket2" |
| 16 |
version = "0.5.7" |
| 17 |
authors = [ |
| 18 |
"Alex Crichton <[email protected]>", |
| 19 |
"Thomas de Zeeuw <[email protected]>", |
| 20 |
] |
| 21 |
include = [ |
| 22 |
"Cargo.toml", |
| 23 |
"LICENSE-APACHE", |
| 24 |
"LICENSE-MIT", |
| 25 |
"README.md", |
| 26 |
"src/**/*.rs", |
| 27 |
] |
| 28 |
description = """ |
| 29 |
Utilities for handling networking sockets with a maximal amount of configuration |
| 30 |
possible intended. |
| 31 |
""" |
| 32 |
homepage = "https://github.com/rust-lang/socket2" |
| 33 |
documentation = "https://docs.rs/socket2" |
| 34 |
readme = "README.md" |
| 35 |
keywords = [ |
| 36 |
"io", |
| 37 |
"socket", |
| 38 |
"network", |
| 39 |
] |
| 40 |
categories = [ |
| 41 |
"api-bindings", |
| 42 |
"network-programming", |
| 43 |
] |
| 44 |
license = "MIT OR Apache-2.0" |
| 45 |
repository = "https://github.com/rust-lang/socket2" |
| 46 |
|
| 47 |
[package.metadata.docs.rs] |
| 48 |
all-features = true |
| 49 |
rustdoc-args = [ |
| 50 |
"--cfg", |
| 51 |
"docsrs", |
| 52 |
] |
| 53 |
targets = [ |
| 54 |
"aarch64-apple-ios", |
| 55 |
"aarch64-linux-android", |
| 56 |
"x86_64-apple-darwin", |
| 57 |
"x86_64-unknown-fuchsia", |
| 58 |
"x86_64-pc-windows-msvc", |
| 59 |
"x86_64-pc-solaris", |
| 60 |
"x86_64-unknown-freebsd", |
| 61 |
"x86_64-unknown-illumos", |
| 62 |
"x86_64-unknown-linux-gnu", |
| 63 |
"x86_64-unknown-linux-musl", |
| 64 |
"x86_64-unknown-netbsd", |
| 65 |
"x86_64-unknown-redox", |
| 66 |
"armv7-linux-androideabi", |
| 67 |
"i686-linux-android", |
| 68 |
] |
| 69 |
|
| 70 |
[package.metadata.playground] |
| 71 |
features = ["all"] |
| 72 |
|
| 73 |
[features] |
| 74 |
all = [] |
| 75 |
|
| 76 |
[target."cfg(unix)".dependencies.libc] |
| 77 |
version = "0.2.150" |
| 78 |
|
| 79 |
[target."cfg(windows)".dependencies.windows-sys] |
| 80 |
version = "0.52" |
| 81 |
features = [ |
| 82 |
"Win32_Foundation", |
| 83 |
"Win32_Networking_WinSock", |
| 84 |
"Win32_System_IO", |
| 85 |
"Win32_System_Threading", |
| 86 |
"Win32_System_WindowsProgramming", |
| 87 |
] |