Debian Codegraph @

debian/rust-vendor/socket2/Cargo.toml

raw
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.70"
15 name = "socket2"
16 version = "0.6.5"
17 authors = [
18 "Alex Crichton <[email protected]>",
19 "Thomas de Zeeuw <[email protected]>",
20 ]
21 build = false
22 include = [
23 "Cargo.toml",
24 "LICENSE-APACHE",
25 "LICENSE-MIT",
26 "README.md",
27 "src/**/*.rs",
28 ]
29 autolib = false
30 autobins = false
31 autoexamples = false
32 autotests = false
33 autobenches = false
34 description = """
35 Utilities for handling networking sockets with a maximal amount of configuration
36 possible intended.
37 """
38 homepage = "https://github.com/rust-lang/socket2"
39 documentation = "https://docs.rs/socket2"
40 readme = "README.md"
41 keywords = [
42 "io",
43 "socket",
44 "network",
45 ]
46 categories = [
47 "api-bindings",
48 "network-programming",
49 ]
50 license = "MIT OR Apache-2.0"
51 repository = "https://github.com/rust-lang/socket2"
52
53 [package.metadata.docs.rs]
54 all-features = true
55 default-target = "x86_64-unknown-linux-gnu"
56 targets = [
57 "aarch64-apple-ios",
58 "aarch64-linux-android",
59 "armv7-linux-androideabi",
60 "i686-linux-android",
61 "x86_64-apple-darwin",
62 "x86_64-pc-solaris",
63 "x86_64-pc-windows-msvc",
64 "x86_64-unknown-freebsd",
65 "x86_64-unknown-fuchsia",
66 "x86_64-unknown-illumos",
67 "x86_64-unknown-linux-gnu",
68 "x86_64-unknown-linux-musl",
69 "x86_64-unknown-netbsd",
70 "x86_64-unknown-redox",
71 ]
72
73 [package.metadata.playground]
74 features = ["all"]
75
76 [package.metadata.cargo_check_external_types]
77 allowed_external_types = [
78 "libc::socklen_t",
79 "libc::*::socklen_t",
80 "libc::sa_family_t",
81 "libc::*::sa_family_t",
82 "windows_sys::Win32::Networking::WinSock::socklen_t",
83 "windows_sys::Win32::Networking::WinSock::ADDRESS_FAMILY",
84 ]
85
86 [features]
87 all = []
88
89 [lib]
90 name = "socket2"
91 path = "src/lib.rs"
92
93 [target.'cfg(any(unix, target_os = "wasi"))'.dependencies.libc]
94 version = "0.2.172"
95
96 [target."cfg(windows)".dependencies.windows-sys]
97 version = ">=0.60, <0.62"
98 features = [
99 "Win32_Foundation",
100 "Win32_Networking_WinSock",
101 "Win32_System_IO",
102 "Win32_System_Threading",
103 "Win32_System_WindowsProgramming",
104 ]