[package]
edition = "2024"
name = "filelock"
version = "0.5.0"
authors = ["AN Long<aisk1988@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform file locking library for Rust"
readme = "README.md"
keywords = [
"file",
"lock",
"flock",
"locking",
"mutex",
]
categories = [
"filesystem",
"concurrency",
]
license = "MIT"
repository = "https://github.com/aisk/filelock"
[lib]
name = "filelock"
path = "src/lib.rs"
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "concurrent"
path = "tests/concurrent.rs"
[[test]]
name = "error"
path = "tests/error.rs"
[dependencies.errno]
version = "^0.3"
[target."cfg(unix)".dependencies.libc]
version = "^0.2"
[target."cfg(windows)".dependencies.winapi]
version = "^0.3"
features = [
"handleapi",
"fileapi",
]