forked from yoshuawuyts/fd-lock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
29 lines (25 loc) · 809 Bytes
/
Cargo.toml
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
[package]
name = "fd-lock"
version = "3.0.8"
license = "MIT OR Apache-2.0"
repository = "https://github.com/yoshuawuyts/fd-lock"
documentation = "https://docs.rs/fd-lock"
description = "Advisory cross-platform lock on a file using a file descriptor to it."
keywords = ["file", "fd", "lock", "windows", "unix"]
categories = ["filesystem", "os", "os::macos-apis", "os::unix-apis", "os::windows-apis"]
authors = ["Yoshua Wuyts <yoshuawuyts@gmail.com>"]
readme = "README.md"
edition = "2018"
[dependencies]
cfg-if = "1.0.0"
[target.'cfg(windows)'.dependencies.windows-sys]
version = "0.42.0"
features = [
"Win32_Foundation",
"Win32_Storage_FileSystem",
"Win32_System_IO",
]
[target.'cfg(unix)'.dependencies]
rustix = { version = "0.36.0", features = ["fs"] }
[dev-dependencies]
tempfile = "3.0.8"