# 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 = "lease" version = "0.5.2" authors = ["Tyler Hawkes "] build = false publish = ["crates-io"] autobins = false autoexamples = false autotests = false autobenches = false description = "Object pool that leases values and automatically returns them with async support" documentation = "https://docs.rs/lease" readme = "README.md" keywords = [ "pool", "object", "async", "cache", ] categories = [ "data-structures", "asynchronous", "caching", "concurrency", "memory-management", ] license = "MIT OR Apache-2.0" repository = "https://github.com/tylerhawkes/lease" [package.metadata.docs.rs] all-features = true [lib] name = "lease" path = "src/lib.rs" [[test]] name = "test_api" path = "tests/test_api.rs" [dependencies.futures-channel] version = "0.3" optional = true [dependencies.futures-core] version = "0.3" optional = true default-features = false [dependencies.lockfree] version = "0.5" [dependencies.parking_lot] version = "0.12" features = [ "arc_lock", "send_guard", ] default-features = false [dev-dependencies.futures] version = "0.3" [dev-dependencies.tokio] version = "1" features = ["full"] [features] async = [ "futures-core", "futures-channel", ] default = []