Skip to content

Commit

Permalink
Update README.md to describe windows-sys instead of winapi.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfishcode committed Nov 30, 2021
1 parent afc6e09 commit ce39337
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ $ cargo add fd-lock
```

## Safety
This crate uses `unsafe` on Windows to interface with `winapi`. All invariants
have been carefully checked, and are manually enforced.
This crate uses `unsafe` on Windows to interface with `windows-sys`. All
invariants have been carefully checked, and are manually enforced.

## Contributing
Want to join us? Check out our ["Contributing" guide][contributing] and take a
Expand All @@ -52,7 +52,7 @@ look at some of these issues:
- [LockFile function - WDC](https://docs.microsoft.com/en-us/windows/desktop/api/fileapi/nf-fileapi-lockfile)
- [flock(2) - Linux Man Page](https://linux.die.net/man/2/flock)
- [`rustix::fs::flock`](https://docs.rs/rustix/*/rustix/fs/fn.flock.html)
- [`winapi::um::fileapi::LockFile`](https://docs.rs/winapi/0.3.7/x86_64-pc-windows-msvc/winapi/um/fileapi/fn.LockFile.html)
- [`windows_sys::Win32::Storage::FileSystem::LockFile`](https://microsoft.github.io/windows-docs-rs/doc/windows/Win32/Storage/FileSystem/fn.LockFile.html)

## License
[MIT](./LICENSE-MIT) OR [Apache-2.0](./LICENSE-APACHE)
Expand Down

0 comments on commit ce39337

Please sign in to comment.