aboutsummaryrefslogtreecommitdiff
path: root/crates/fslock-guard/Cargo.toml
blob: fddfbcbc949b45ea20882cc3f1f83c5498b053d0 (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
[package]
name = "fslock-guard"
version = "0.8.1"
authors = ["The Tor Project, Inc.", "Nick Mathewson <[email protected]>"]
edition = "2024"
license = "MIT OR Apache-2.0"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
description = "Wrapper around a lockfile with unlock-on-drop semantics"
keywords = ["fs", "file", "lock"]
categories = ["filesystem"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
rust-version = "1.91"

[package.metadata.docs.rs]
all-features = true

[features]
default = []
full = []

[dependencies]
thiserror = "2"

[target.'cfg(target_os = "android")'.dependencies]
libc = "0.2"

[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.61", features = ["Win32_Storage_FileSystem", "Win32_Foundation"] }

[dev-dependencies]
test-temp-dir = { version = "0.8.0", path = "../test-temp-dir" }