# 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"
rust-version = "1.77"
name = "fslock-guard"
version = "0.2.1"
authors = [
    "The Tor Project, Inc.",
    "Nick Mathewson <nickm@torproject.org>",
]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Wrapper around a lockfile with unlock-on-drop semantics"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
readme = "README.md"
keywords = [
    "fs",
    "file",
    "lock",
]
categories = ["filesystem"]
license = "MIT OR Apache-2.0"
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"

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

[lib]
name = "fslock_guard"
path = "src/lib.rs"

[dependencies.fslock]
version = "0.2.0"
package = "fslock-arti-fork"

[dependencies.thiserror]
version = "2"

[dev-dependencies.test-temp-dir]
version = "0.3.0"

[features]
default = []
full = []

[target."cfg(windows)".dependencies.winapi]
version = "^0.3.8"