# 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 = "2018" name = "blocking-permit" version = "1.3.3" authors = ["David Kellum "] build = "build.rs" exclude = [".gitignore", ".travis.yml", "appveyor.yml"] description = "Permits and a thread pool for blocking operations" documentation = "https://docs.rs/blocking-permit" readme = "README.md" keywords = ["async", "semaphore", "thread"] categories = ["asynchronous"] license = "MIT/Apache-2.0" repository = "https://github.com/dekellum/blocking-permit" [package.metadata.docs.rs] features = ["futures-intrusive", "tokio-threaded", "cleaver", "yield-stream"] [profile.bench] lto = "thin" incremental = false [dependencies.bytes] version = ">=1.0.0, <1.2" optional = true [dependencies.futures-channel] version = ">=0.3.1, <0.4" optional = true [dependencies.futures-core] version = ">=0.3.1, <0.4" [dependencies.futures-intrusive] version = ">=0.3.1, <0.5" optional = true [dependencies.num_cpus] version = ">=1.11.1, <1.14" [dependencies.parking_lot] version = ">=0.10.0, <0.12" [dependencies.tao-log] version = ">=1.0.0, <1.1" [dependencies.tokio] version = ">=1.0.1, <1.13" optional = true [dev-dependencies.futures-executor] version = ">=0.3.1, <0.4" [dev-dependencies.futures-util] version = ">=0.3.1, <0.4" [dev-dependencies.lazy_static] version = ">=1.3.0, <1.5" [dev-dependencies.piccolog] version = ">=1.0.0, <1.1" [dev-dependencies.rand] version = ">=0.8.0, <0.9" [dev-dependencies.tempfile] version = ">=3.1.0, <3.3" [features] cleaver = ["bytes"] current-thread = [] default = ["futures-channel"] tangential = [] tokio-omnibus = ["tokio-oneshot", "tokio-threaded", "tokio-semaphore"] tokio-oneshot = ["tokio", "tokio/sync"] tokio-semaphore = ["tokio", "tokio/sync"] tokio-threaded = ["tokio", "tokio/rt", "tokio/rt-multi-thread"] yield-stream = []