[package]
edition = "2024"
rust-version = "1.89"
name = "ipc-lock"
version = "0.1.4"
authors = ["windseeker1024 <helloworldgnu@gmail.com>"]
build = false
exclude = [
".github/",
".gitignore",
"Cargo.lock",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-process named locks using std::fs::File::lock() on Unix and CreateMutexW on Windows"
homepage = "https://github.com/windseeker1024/ipc-lock"
documentation = "https://docs.rs/ipc-lock"
readme = "README.md"
keywords = [
"ipc",
"lock",
"process",
"cross-process",
"named-lock",
]
categories = [
"os",
"concurrency",
]
license = "MIT"
repository = "https://github.com/windseeker1024/ipc-lock"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = [
"--cfg",
"docsrs",
]
[lib]
name = "ipc_lock"
path = "src/lib.rs"
[[test]]
name = "crash_recovery"
path = "tests/crash_recovery.rs"
[dev-dependencies.uuid]
version = "1"
features = ["v4"]
[target."cfg(windows)".dependencies.windows]
version = "0.62"
features = [
"Win32_Foundation",
"Win32_Security",
"Win32_System_Threading",
]