Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[package] name = "file_locking" version = "0.1.0" authors = ["Echo Writes Code <echo@echowritescode.dev>"] edition = "2021" rust-version = "1.65.0" description = "A lean file locking implementation for Unix and Windows" readme = "README.md" repository = "https://git.echowritescode.dev/repository/file_locking/head" license = "MIT" keywords = ["file", "lock", "locking", "flock"] categories = ["concurrency", "filesystem"] [dependencies] errno = "0.3.10" [target.'cfg(unix)'.dependencies] libc = "0.2.168" [target.'cfg(windows)'.dependencies] windows-sys = { version = "0.59.0", features = ["Win32_Storage_FileSystem", "Win32_System_IO"] } [lib] name = "file_locking" path = "source/file_locking.rs"