[package]
name = "tilo-socket"
version = "0.5.2"
edition = "2024"
publish = true
license = "MIT"
readme = "../../../docs/crates/supporting-crate.md"
repository.workspace = true
homepage.workspace = true
description = "Local sockets named by a path of any length: Unix-domain sockets where the kernel's fixed path buffer would refuse a deep profile or state root, and named pipes kept to one account on Windows."
[lib]
name = "tilo_socket"
path = "src/lib.rs"
[dependencies]
tokio = { workspace = true, optional = true, features = ["io-util", "net", "rt", "sync"] }
[features]
tokio = ["dep:tokio"]
[target.'cfg(unix)'.dependencies]
libc.workspace = true
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.61.2", features = ["Win32_Foundation", "Win32_Security", "Win32_Security_Authorization", "Win32_Storage_FileSystem", "Win32_System_IO", "Win32_System_Pipes", "Win32_System_Threading"] }
[dev-dependencies]
tempfile.workspace = true
tilo-test-env = { path = "../../../tools/test-env" }
[lints]
workspace = true