Echo Writes Code

Cargo.toml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[package]
name = "file_locking"
version = "0.1.0"
edition = "2021"

[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"