# 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.0" authors = ["Tyler Hawkes "] publish = ["crates-io"] 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 [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 = []