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
12
13
#[cfg(unix)]
use crate::unix::async_impl::async_std_impl as sys;
#[cfg(windows)]
use crate::windows::async_impl::async_std_impl as sys;
use async_std::fs::File;

async_file_ext!(File, "async_std::fs::File");

test_mod! {
  async_std::test,
  use crate::async_std::AsyncFileExt;
  use async_std::fs;
}