[dependencies.cfg-if]
version = "1.0.0"
[dev-dependencies.tempfile]
version = "3.0.8"
[lib]
name = "fd_lock"
path = "src/lib.rs"
[package]
authors = ["Yoshua Wuyts <yoshuawuyts@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["filesystem", "os", "os::macos-apis", "os::unix-apis", "os::windows-apis"]
description = "Advisory cross-platform lock on a file using a file descriptor to it."
documentation = "https://docs.rs/fd-lock"
edition = "2021"
keywords = ["file", "fd", "lock", "windows", "unix"]
license = "MIT OR Apache-2.0"
name = "fd-lock"
readme = "README.md"
repository = "https://github.com/yoshuawuyts/fd-lock"
version = "4.0.4"
[target."cfg(unix)".dependencies.rustix]
features = ["fs"]
version = "1.0.0"
[target."cfg(windows)".dependencies.windows-sys]
features = ["Win32_Foundation", "Win32_Storage_FileSystem", "Win32_System_IO"]
version = ">=0.52.0, <0.60.0"
[[test]]
name = "test"
path = "tests/test.rs"