# 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 = "swap-buffer-queue" version = "0.2.1" exclude = [".*"] description = "A buffering MPSC queue." homepage = "https://github.com/wyfo/swap-buffer-queue" readme = "README.md" keywords = [ "atomic", "lock-free", "no-std", "mpsc", "async", ] categories = [ "concurrency", "data-structures", "no-std", ] license = "MIT" repository = "https://github.com/wyfo/swap-buffer-queue" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.crossbeam-utils] version = "0.8" default-features = false [dependencies.futures-core] version = "0.3" optional = true default-features = false [dependencies.futures-util] version = "0.3" optional = true default-features = false [dev-dependencies.tokio] version = "1" features = [ "macros", "rt-multi-thread", "test-util", "time", ] [dev-dependencies.tokio-test] version = "0.4" [features] alloc = [] default = ["std"] std = ["alloc"] stream = [ "std", "dep:futures-core", "dep:futures-util", ] write = [] [target."cfg(loom)".dev-dependencies.loom] version = "0.7" features = ["futures"] [lints.rust.unexpected_cfgs] level = "warn" priority = 0