| [package] |
| name = "named-lock" |
| version = "0.3.0" |
| authors = ["oblique <psyberbits@gmail.com>"] |
| edition = "2018" |
| license = "MIT" |
| readme = "README.md" |
| |
| description = "Cross-platform implementation of cross-process named locks" |
| categories = ["os"] |
| keywords = ["process", "inter-process", "cross-process", "flock", "CreateMutexW"] |
| repository = "https://github.com/oblique/named-lock" |
| |
| [dependencies] |
| thiserror = "1.0.35" |
| once_cell = "1.14.0" |
| parking_lot = "0.12.1" |
| |
| [target.'cfg(unix)'.dependencies] |
| libc = "0.2.132" |
| |
| [target.'cfg(windows)'.dependencies] |
| winapi = { version = "0.3.9", features = ["handleapi", "synchapi", "winbase", "winnt", "winerror"] } |
| widestring = "1.0.2" |
| |
| [dev-dependencies] |
| uuid = { version = "1.1.2", features = ["v4"] } |
| |
| [package.metadata.docs.rs] |
| all-features = true |
| rustdoc-args = ["--cfg", "docsrs"] |