# 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 = "streamcatcher" version = "1.0.1" authors = ["Kyle Simpson "] include = ["src/**/*.rs", "Cargo.toml"] description = "A thread-safe, shared (asynchronous), almost-lockless stream buffer." homepage = "https://github.com/FelixMcFelix/streamcatcher" documentation = "https://docs.rs/streamcatcher" readme = "README.md" keywords = ["async", "io", "bytes", "concurrent"] categories = ["asynchronous", "caching", "concurrency"] license = "MIT/Apache-2.0" repository = "https://github.com/FelixMcFelix/streamcatcher.git" [package.metadata.docs.rs] all-features = true [lib] bench = false [[test]] name = "async" path = "tests/async.rs" required-features = ["async-std-compat", "smol-compat", "tokio-compat"] [[bench]] name = "allocs" path = "benches/allocs.rs" harness = false [[bench]] name = "vary-threads" path = "benches/vary-threads.rs" harness = false [dependencies.async-compat] version = "0.2" optional = true [dependencies.async-std] version = "1" features = ["alloc"] optional = true default-features = false [dependencies.async-trait] version = "0.1" optional = true [dependencies.crossbeam-utils] version = "0.8" default-features = false [dependencies.futures-util] version = "0.3" features = ["alloc"] default-features = false [dependencies.smol] version = "1" optional = true [dependencies.tokio] version = "1" features = ["rt"] optional = true default-features = false [dev-dependencies.async-std] version = "1" features = ["attributes"] [dev-dependencies.criterion] version = "0.3" [dev-dependencies.futures] version = "0.3" [dev-dependencies.smol] version = "1" [dev-dependencies.synchronoise] version = "1" [dev-dependencies.tokio] version = "1" features = ["rt", "macros"] [features] async = ["async-trait", "futures-util/io"] async-std-compat = ["async", "async-std"] default = [] smol-compat = ["async", "smol"] tokio-compat = ["async", "tokio", "async-compat"] [target."cfg(loom)".dependencies.loom] version = "0.5" features = ["checkpoint"]