fs4 0.8.4

No libc, pure Rust cross-platform file locks. Original fs2, now supports async and replace libc by rustix.
Documentation
[dependencies.async-std]
optional = true
version = "1"

[dependencies.smol]
optional = true
version = "2"

[dependencies.tokio]
default-features = false
features = ["fs"]
optional = true
version = "1"
[dev-dependencies.async-std]
features = ["attributes"]
version = "1"

[dev-dependencies.libc]
version = "0.2"

[dev-dependencies.smol-potat]
version = "1.1"

[dev-dependencies.tempdir]
version = "0.3"

[dev-dependencies.tokio]
features = ["full"]
version = "1"

[features]
async-std = ["dep:async-std"]
default = ["sync"]
smol = ["dep:smol"]
sync = []
tokio = ["dep:tokio"]

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

[package]
authors = ["Dan Burkert <dan@danburkert.com>", "Al Liu <scygliu1@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["filesystem", "external-ffi-bindings", "asynchronous"]
description = "No libc, pure Rust cross-platform file locks. Original fs2, now supports async and replace libc by rustix."
documentation = "https://docs.rs/fs4"
edition = "2021"
keywords = ["file", "fs2", "lock", "duplicate", "flock"]
license = "MIT OR Apache-2.0"
name = "fs4"
readme = "README.md"
repository = "https://github.com/al8n/fs4-rs"
rust-version = "1.75.0"
version = "0.8.4"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[target."cfg(not(windows))".dependencies.rustix]
features = ["fs"]
version = "0.38"
[target."cfg(windows)".dependencies.windows-sys]
features = ["Win32_Foundation", "Win32_Storage_FileSystem", "Win32_System_IO"]
version = "0.52"