Extended utilities for working with files and filesystems in Rust
Rust
160
47 commits
updated Feb 16, 2024
Extended utilities for working with files and filesystems in Rust. fs2
requires Rust stable 1.8 or greater.
fs2 should work on any platform supported by
libc.
fs2 is continuously tested on:
x86_64-unknown-linux-gnu (Linux)i686-unknown-linux-gnux86_64-apple-darwin (OSX)i686-apple-darwinx86_64-pc-windows-msvc (Windows)i686-pc-windows-msvcx86_64-pc-windows-gnui686-pc-windows-gnuSimple benchmarks are provided for the methods provided. Many of these
benchmarks use files in a temporary directory. On many modern Linux distros the
default temporary directory, /tmp, is mounted on a tempfs filesystem, which
will have different performance characteristics than a disk-backed filesystem.
The temporary directory is configurable at runtime through the environment (see
env::temp_dir).
fs2 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) 2015 Dan Burkert.
145 followers · starred Feb 2025
622 followers · starred Oct 2019
174 followers · starred Jul 2017
Extended utilities for working with files and filesystems in Rust
Rust
160
47 commits
updated Feb 16, 2024
Extended utilities for working with files and filesystems in Rust. fs2
requires Rust stable 1.8 or greater.
fs2 should work on any platform supported by
libc.
fs2 is continuously tested on:
x86_64-unknown-linux-gnu (Linux)i686-unknown-linux-gnux86_64-apple-darwin (OSX)i686-apple-darwinx86_64-pc-windows-msvc (Windows)i686-pc-windows-msvcx86_64-pc-windows-gnui686-pc-windows-gnuSimple benchmarks are provided for the methods provided. Many of these
benchmarks use files in a temporary directory. On many modern Linux distros the
default temporary directory, /tmp, is mounted on a tempfs filesystem, which
will have different performance characteristics than a disk-backed filesystem.
The temporary directory is configurable at runtime through the environment (see
env::temp_dir).
fs2 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) 2015 Dan Burkert.
145 followers · starred Feb 2025
622 followers · starred Oct 2019
174 followers · starred Jul 2017