[package]
edition = "2021"
name = "filelocks"
version = "0.1.0"
authors = [
"Srikanth Anantharam <sria91@gmail.com>",
"GitHub Copilot <copilot@github.com>",
"Anthropic Claude <claude@anthropic.com>",
"OpenAI Codex <codex@openai.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Platform-native file locking with blocking and non-blocking support"
documentation = "https://docs.rs/filelocks"
readme = "README.md"
keywords = [
"file",
"lock",
"flock",
"advisory",
"locking",
]
categories = [
"filesystem",
"os",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/sria91/filelocks-rs"
[lib]
name = "filelocks"
path = "src/lib.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[dev-dependencies.tempfile]
version = "3"
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
"Win32_Foundation",
"Win32_Storage_FileSystem",
"Win32_System_IO",
]