# 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 = "2018"
name = "fd-lock"
version = "3.0.8"
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.36.0"
features = ["fs"]

[target."cfg(windows)".dependencies.windows-sys]
version = "0.42.0"
features = [
    "Win32_Foundation",
    "Win32_Storage_FileSystem",
    "Win32_System_IO",
]
