filelock 0.5.0

Cross-platform file locking library for Rust
Documentation
# 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 = "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",
]