# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "async-fd-lock" version = "0.2.0" authors = [ "Jakub Hlusička", "Yoshua Wuyts ", ] build = false exclude = [ ".github", ".vscode", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Advisory cross-platform file locks using file descriptors with async support by spawning blocking tasks." documentation = "https://docs.rs/async-fd-lock" readme = "README.md" keywords = [ "file", "fd", "lock", "async", ] categories = [ "filesystem", "os", "asynchronous", ] license = "MIT OR Apache-2.0" repository = "https://github.com/Limeth/async-fd-lock" [lib] name = "async_fd_lock" path = "src/lib.rs" [[test]] name = "adaptor" path = "tests/adaptor.rs" [[test]] name = "test" path = "tests/test.rs" [dependencies.async-trait] version = "0.1.80" [dependencies.cfg-if] version = "1.0.0" [dependencies.pin-project] version = "1.1.5" [dependencies.thiserror] version = "1.0.61" [dependencies.tokio] version = "1.38.0" features = [ "rt", "sync", ] optional = true [dev-dependencies.futures] version = "0.3.30" [dev-dependencies.paste] version = "1.0.15" [dev-dependencies.tempfile] version = "3.0.8" [dev-dependencies.tokio] version = "1.38.0" features = [ "macros", "time", "fs", "io-util", ] [dev-dependencies.tokio-test] version = "0.4.4" [features] async = ["dep:tokio"] default = ["async"] [target."cfg(unix)".dependencies.rustix] version = "0.38.0" features = ["fs"] [target."cfg(windows)".dependencies.windows-sys] version = "0.52.0" features = [ "Win32_Foundation", "Win32_Storage_FileSystem", "Win32_System_IO", ]