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]
13edition = "2021"
14rust-version = "1.63"
15name = "socket2"
16version = "0.5.5"
17authors = [
18    "Alex Crichton <[email protected]>",
19    "Thomas de Zeeuw <[email protected]>",
20]
21include = [
22    "Cargo.toml",
23    "LICENSE-APACHE",
24    "LICENSE-MIT",
25    "README.md",
26    "src/**/*.rs",
27]
28description = """
29Utilities for handling networking sockets with a maximal amount of configuration
30possible intended.
31"""
32homepage = "https://github.com/rust-lang/socket2"
33documentation = "https://docs.rs/socket2"
34readme = "README.md"
35keywords = [
36    "io",
37    "socket",
38    "network",
39]
40categories = [
41    "api-bindings",
42    "network-programming",
43]
44license = "MIT OR Apache-2.0"
45repository = "https://github.com/rust-lang/socket2"
46
47[package.metadata.docs.rs]
48all-features = true
49rustdoc-args = [
50    "--cfg",
51    "docsrs",
52]
53targets = [
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]
71features = ["all"]
72
73[features]
74all = []
75
76[target."cfg(unix)".dependencies.libc]
77version = "0.2.149"
78
79[target."cfg(windows)".dependencies.windows-sys]
80version = "0.48"
81features = [
82    "Win32_Foundation",
83    "Win32_Networking_WinSock",
84    "Win32_System_IO",
85    "Win32_System_Threading",
86    "Win32_System_WindowsProgramming",
87]
88