# 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" rust-version = "1.65.0" name = "lockpool" version = "3.0.1" authors = ["Sebastian Messmer "] description = "This library offers a pool of locks where individual locks can be locked/unlocked by key" homepage = "https://github.com/smessmer/lockpool" documentation = "https://docs.rs/lockpool" readme = "README.md" keywords = [ "concurrency", "thread", "locks", "mutex", ] categories = [ "asynchronous", "concurrency", ] license = "MIT OR Apache-2.0" repository = "https://github.com/smessmer/lockpool" [profile.release] lto = "fat" [[bench]] name = "bench" harness = false [dependencies.async-trait] version = "^0.1.58" optional = true [dependencies.derive_more] version = "^0.99.17" [dependencies.owning_ref_lockable] version = "^0.4.2" [dependencies.thiserror] version = "^1.0.37" [dependencies.tokio] version = "^1.22.0" features = ["sync"] optional = true [dev-dependencies.criterion] version = "^0.4.0" [dev-dependencies.crossbeam-utils] version = "^0.8.14" [dev-dependencies.tokio] version = "^1.22.0" features = [ "sync", "time", "macros", "rt-multi-thread", ] [features] tokio = [ "dep:tokio", "dep:async-trait", ]