[package]
name = "fslock"
version = "0.1.8"
authors = ["brunoczim <brunoczim@gmail.com>"]
edition = "2018"
description = "A library to use files as locks"
repository = "https://github.com/brunoczim/fslock"
readme = "README.md"
keywords = ["file", "lock", "lockfile", "filelock", "lock-file"]
categories = ["filesystem", "no-std", "concurrency"]
license = "MIT"
[badges]
maintenance = { status = "passively-maintained" }
[badges.travis-ci]
repository = "https://github.com/brunoczim/fslock"
branch = "master"
[target.'cfg(unix)'.dependencies.libc]
version = "^0.2.66"
default-features = false
[target.'cfg(unix)'.dependencies.once_cell]
version = "^1.8.0"
optional = true
[target.'cfg(windows)'.dependencies.winapi]
version = "^0.3.8"
features = [
"minwindef",
"minwinbase",
"winbase",
"errhandlingapi",
"winerror",
"winnt",
"synchapi",
"handleapi",
"fileapi"
]
[features]
default = ["std"]
std = []
multilock = [ "std", "once_cell" ]