1[package] 2name = "socket2" 3version = "0.5.5" 4authors = [ 5 "Alex Crichton <alex@alexcrichton.com>", 6 "Thomas de Zeeuw <thomasdezeeuw@gmail.com>" 7] 8license = "MIT OR Apache-2.0" 9readme = "README.md" 10repository = "https://github.com/rust-lang/socket2" 11homepage = "https://github.com/rust-lang/socket2" 12documentation = "https://docs.rs/socket2" 13description = """ 14Utilities for handling networking sockets with a maximal amount of configuration 15possible intended. 16""" 17keywords = ["io", "socket", "network"] 18categories = ["api-bindings", "network-programming"] 19edition = "2021" 20rust-version = "1.63" 21include = [ 22 "Cargo.toml", 23 "LICENSE-APACHE", 24 "LICENSE-MIT", 25 "README.md", 26 "src/**/*.rs", 27] 28 29[package.metadata.docs.rs] 30all-features = true 31rustdoc-args = ["--cfg", "docsrs"] 32targets = ["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] 35features = ["all"] 36 37[target."cfg(unix)".dependencies] 38libc = "0.2.149" 39 40[target.'cfg(windows)'.dependencies.windows-sys] 41version = "0.48" 42features = [ 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. 52all = [] 53