# 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.75" name = "lockable" version = "0.1.1" authors = ["Sebastian Messmer "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "This library offers hash map, hash set and cache data structures where individual entries can be locked" homepage = "https://github.com/smessmer/lockable" documentation = "https://docs.rs/lockable" readme = "README.md" keywords = [ "concurrency", "thread", "locks", "mutex", "async", ] categories = [ "asynchronous", "concurrency", "caching", "data-structures", ] license = "MIT OR Apache-2.0" repository = "https://github.com/smessmer/lockable" [package.metadata.docs.rs] all-features = true [lib] name = "lockable" path = "src/lib.rs" [[bench]] name = "bench" path = "benches/bench.rs" harness = false [dependencies.derive_more] version = "^1.0" features = [ "display", "error", ] [dependencies.futures] version = "^0.3" [dependencies.itertools] version = "^0.13" [dependencies.lru] version = "^0.12" optional = true [dependencies.tokio] version = "^1.22" features = [ "sync", "time", ] [dev-dependencies.async-trait] version = "^0.1.83" [dev-dependencies.criterion] version = "^0.5" features = ["async_tokio"] [dev-dependencies.tokio] version = "^1.22" features = [ "sync", "time", "macros", "rt-multi-thread", ] [features] default = ["lru"] lru = ["dep:lru"] slow_assertions = []