blob: 88826bc5ae8e2dd65b3d717dea11fc4353b25d24 [file] [log] [blame]
# 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 = "2021"
name = "fd-lock"
version = "4.0.2"
authors = ["Yoshua Wuyts <yoshuawuyts@gmail.com>"]
description = "Advisory cross-platform lock on a file using a file descriptor to it."
documentation = "https://docs.rs/fd-lock"
readme = "README.md"
keywords = [
"file",
"fd",
"lock",
"windows",
"unix",
]
categories = [
"filesystem",
"os",
"os::macos-apis",
"os::unix-apis",
"os::windows-apis",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/yoshuawuyts/fd-lock"
[dependencies.cfg-if]
version = "1.0.0"
[dev-dependencies.tempfile]
version = "3.0.8"
[target."cfg(unix)".dependencies.rustix]
version = "0.38.0"
features = ["fs"]
[target."cfg(windows)".dependencies.windows-sys]
version = "0.52.0"
features = [
"Win32_Foundation",
"Win32_Storage_FileSystem",
"Win32_System_IO",
]