| 1 | [package] |
| 2 | name = "socket2" |
| 3 | version = "0.5.9" |
| 4 | authors = [ |
| 5 | "Alex Crichton <alex@alexcrichton.com>" , |
| 6 | "Thomas de Zeeuw <thomasdezeeuw@gmail.com>" |
| 7 | ] |
| 8 | license = "MIT OR Apache-2.0" |
| 9 | readme = "README.md" |
| 10 | repository = "https://github.com/rust-lang/socket2" |
| 11 | homepage = "https://github.com/rust-lang/socket2" |
| 12 | documentation = "https://docs.rs/socket2" |
| 13 | description = "" " |
| 14 | Utilities for handling networking sockets with a maximal amount of configuration |
| 15 | possible intended. |
| 16 | " "" |
| 17 | keywords = ["io" , "socket" , "network" ] |
| 18 | categories = ["api-bindings" , "network-programming" ] |
| 19 | edition = "2021" |
| 20 | rust-version = "1.63" |
| 21 | include = [ |
| 22 | "Cargo.toml" , |
| 23 | "LICENSE-APACHE" , |
| 24 | "LICENSE-MIT" , |
| 25 | "README.md" , |
| 26 | "src/**/*.rs" , |
| 27 | ] |
| 28 | |
| 29 | [package.metadata.docs.rs] |
| 30 | all-features = true |
| 31 | rustdoc-args = ["--cfg" , "docsrs" ] |
| 32 | targets = ["aarch64-apple-ios" , "aarch64-linux-android" , "x86_64-apple-darwin" , "x86_64-unknown-fuchsia" , "x86_64-pc-windows-msvc" , "x86_64-pc-solaris" , "x86_64-unknown-freebsd" , "x86_64-unknown-illumos" , "x86_64-unknown-linux-gnu" , "x86_64-unknown-linux-musl" , "x86_64-unknown-netbsd" , "x86_64-unknown-redox" , "armv7-linux-androideabi" , "i686-linux-android" ] |
| 33 | |
| 34 | [package.metadata.playground] |
| 35 | features = ["all" ] |
| 36 | |
| 37 | [target."cfg(unix)".dependencies] |
| 38 | libc = "0.2.171" |
| 39 | |
| 40 | [target.'cfg(windows)'.dependencies.windows-sys] |
| 41 | version = "0.52" |
| 42 | features = [ |
| 43 | "Win32_Foundation" , |
| 44 | "Win32_Networking_WinSock" , |
| 45 | "Win32_System_IO" , |
| 46 | "Win32_System_Threading" , |
| 47 | "Win32_System_WindowsProgramming" , |
| 48 | ] |
| 49 | |
| 50 | [features] |
| 51 | # Enable all API, even ones not available on all OSs. |
| 52 | all = [] |
| 53 | |