[package]
edition = "2024"
rust-version = "1.85.0"
name = "lien"
version = "0.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Scoped lending of borrowed references"
readme = "README.md"
keywords = [
"scope",
"borrow",
"zerocopy",
"smart-pointer",
"thread",
]
categories = [
"concurrency",
"memory-management",
"no-std",
"rust-patterns",
]
license = "CC0-1.0"
repository = "https://github.com/twilligon/lien"
[features]
default = ["std"]
spin = []
std = []
[lib]
name = "lien"
path = "src/lib.rs"
[[test]]
name = "tests"
path = "tests/tests.rs"
[dependencies]
[target.'cfg(any(target_os = "android", target_os = "dragonfly", target_os = "freebsd", target_os = "linux", target_os = "netbsd", target_os = "openbsd", target_vendor = "apple"))'.dependencies.libc]
version = "0.2"
default-features = false
[target.'cfg(target_os = "redox")'.dependencies.redox_syscall]
version = "0.7"
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = ["Win32_System_Threading"]