Crates.io | fs4 |
lib.rs | fs4 |
version | 0.13.1 |
created_at | 2021-12-31 12:10:21.897583+00 |
updated_at | 2025-03-08 07:55:58.680118+00 |
description | No libc, pure Rust cross-platform file locks. Original fs2, now supports async and replace libc by rustix. |
homepage | |
repository | https://github.com/al8n/fs4-rs |
max_upload_size | |
id | 505782 |
size | 130,733 |
Extended utilities for working with files and filesystems in Rust.
This is a fork of the fs2-rs crate, the aim for this fork is to support async
and replace libc
by rustix
.
std
[dependencies]
fs4 = { version = "0.13", features = ["sync"] }
[dependencies]
fs4 = { version = "0.13", features = ["async-std"] }
[dependencies]
fs4 = { version = "0.13", features = ["fs-err2"] }
[dependencies]
fs4 = { version = "0.13", features = ["fs-err2-tokio"] }
[dependencies]
fs4 = { version = "0.13", features = ["fs-err3"] }
[dependencies]
fs4 = { version = "0.13", features = ["fs-err3-tokio"] }
[dependencies]
fs4 = { version = "0.13", features = ["smol"] }
[dependencies]
fs4 = { version = "0.13", features = ["tokio"] }
fs4
is primarily distributed under the terms of both the MIT license and the
Apache License (Version 2.0).
See LICENSE-APACHE, LICENSE-MIT for details.
Copyright (c) 2025 Al Liu.
Copyright (c) 2015 Dan Burkert.