fs4 1.0.1

No libc, pure Rust cross-platform file locks. Original fs2, now supports async and replace libc by rustix.
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[cfg(unix)]
use crate::unix::sync_impl::std_impl as sys;
#[cfg(windows)]
use crate::windows::sync_impl::std_impl as sys;
use std::fs::File;

file_ext!(File, "std::fs::File");

test_mod! {
  use std::fs;
}