[go: up one dir, main page]

socket2 0.6.1

Utilities for handling networking sockets with a maximal amount of configuration possible intended.
Documentation
[features]
all = []

[lib]
name = "socket2"
path = "src/lib.rs"

[package]
authors = ["Alex Crichton <alex@alexcrichton.com>", "Thomas de Zeeuw <thomasdezeeuw@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["api-bindings", "network-programming"]
description = """
Utilities for handling networking sockets with a maximal amount of configuration
possible intended.
"""
documentation = "https://docs.rs/socket2"
edition = "2021"
homepage = "https://github.com/rust-lang/socket2"
include = ["Cargo.toml", "LICENSE-APACHE", "LICENSE-MIT", "README.md", "src/**/*.rs"]
keywords = ["io", "socket", "network"]
license = "MIT OR Apache-2.0"
name = "socket2"
readme = "README.md"
repository = "https://github.com/rust-lang/socket2"
rust-version = "1.70"
version = "0.6.1"

[package.metadata.cargo_check_external_types]
allowed_external_types = ["libc::socklen_t", "libc::*::socklen_t", "libc::sa_family_t", "libc::*::sa_family_t", "windows_sys::Win32::Networking::WinSock::socklen_t", "windows_sys::Win32::Networking::WinSock::ADDRESS_FAMILY"]

[package.metadata.docs.rs]
all-features = true
default-target = "x86_64-unknown-linux-gnu"
targets = ["aarch64-apple-ios", "aarch64-linux-android", "armv7-linux-androideabi", "i686-linux-android", "x86_64-apple-darwin", "x86_64-pc-solaris", "x86_64-pc-windows-msvc", "x86_64-unknown-freebsd", "x86_64-unknown-fuchsia", "x86_64-unknown-illumos", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "x86_64-unknown-netbsd", "x86_64-unknown-redox"]

[package.metadata.playground]
features = ["all"]

[target."cfg(unix)".dependencies.libc]
version = "0.2.172"

[target."cfg(windows)".dependencies.windows-sys]
features = ["Win32_Foundation", "Win32_Networking_WinSock", "Win32_System_IO", "Win32_System_Threading", "Win32_System_WindowsProgramming"]
version = "0.60"