summaryrefslogtreecommitdiffstats
path: root/vendor/fd-lock/Cargo.toml
blob: d995177bf83376a9cacb89960fe83fb7aa893458 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# 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.11"
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.37.0"
features = ["fs"]

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