# 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 = "namaste"
version = "0.30.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "..."
readme = false
keywords = [
    "locks",
    "processes",
]
categories = ["concurrency"]
license = "LGPL-3.0-or-later"

[package.metadata.docs.rs]
all-features = true

[features]
tokio = ["dep:tokio"]

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

[[example]]
name = "rw-namaste"
path = "examples/rw-namaste/main.rs"

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

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

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

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

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

[dependencies.tokio]
version = ">= 1, < 2"
features = ["time"]
optional = true

[dev-dependencies.blackhole]
version = ">= 0.20.2, < 0.21"

[dev-dependencies.cld]
version = ">= 0.5.1, < 0.6"
features = ["std"]

[dev-dependencies.dia-args]
version = ">= 0.61, < 0.62"

[dev-dependencies.dia-time]
version = ">= 9, < 10"
features = [
    "libc",
    "std",
]

[dev-dependencies.libc]
version = ">= 0.2, < 0.3"

[dev-dependencies.tokio]
version = ">= 1, < 2"
features = [
    "rt",
    "rt-multi-thread",
]

[dev-dependencies.zeros]
version = ">= 19, < 20"

[target.'cfg(any(target_os="linux", target_os="l4re", target_os="android"))'.dependencies.libc]
version = ">= 0.2, < 0.3"
