socket9 0.1.0-alpha.1

Extended untilities for the networking/unix sockets and raw network sockets
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "socket9"
version = "0.1.0-alpha.1"
authors = [
    "4neko contributors<patch@4neko.org>",
    "Aleksandr Morozov <alex@nixd.org>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Extended untilities for the networking/unix sockets and raw network sockets"
readme = "README.md"
keywords = [
    "socket",
    "network",
    "handle",
    "raw",
    "io",
]
categories = [
    "api-bindings",
    "network-programming",
]
license = "EUPL-1.2 OR MPL-2.0 OR MIT"
repository = "https://codeberg.org/4neko/socket9/src/branch/socket9-master"

[package.metadata.docs.rs]
all-features = true
default-target = "x86_64-unknown-linux-gnu"
targets = [
    "x86_64-unknown-linux-gnu",
    "x86_64-pc-windows-msvc",
]

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

[[example]]
name = "other_socket"
path = "examples/other_socket.rs"
required-features = ["unix"]

[[example]]
name = "std_socket_extended"
path = "examples/std_socket_extended.rs"

[[test]]
name = "common"
path = "tests/common.rs"

[[test]]
name = "test_address"
path = "tests/test_address.rs"

[[test]]
name = "test_custom_socket"
path = "tests/test_custom_socket.rs"

[[test]]
name = "test_custom_socket_windows"
path = "tests/test_custom_socket_windows.rs"

[[test]]
name = "test_markers"
path = "tests/test_markers.rs"

[[test]]
name = "test_sock_split"
path = "tests/test_sock_split.rs"

[[test]]
name = "test_socket"
path = "tests/test_socket.rs"

[[test]]
name = "test_socket_windows"
path = "tests/test_socket_windows.rs"

[[test]]
name = "test_sol_socket"
path = "tests/test_sol_socket.rs"

[[test]]
name = "test_static_data"
path = "tests/test_static_data.rs"

[dependencies.bitfield]
version = "~0.19"

[dependencies.bitflags]
version = "~2.10"

[dependencies.uds-fork]
version = "~0.7"

[dev-dependencies.rand]
version = "0.9"

[dev-dependencies.tempfile]
version = "~3.27"

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

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