# 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 = "utils-atomics" version = "1.1.2" exclude = ["src/bin"] description = "Various atomic utils" readme = "README.md" keywords = [ "atomic", "parallel", "thread", "async", ] categories = [ "no-std", "asynchronous", "concurrency", "rust-patterns", ] license = "MIT" repository = "https://github.com/Aandreba/atomic-utils" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[bench]] name = "queue_push" harness = false [[bench]] name = "queue_chop" harness = false [dependencies.bytemuck] version = "1.11.0" default-features = false [dependencies.cfg-if] version = "1" [dependencies.crossbeam] version = "0.8.2" default-features = false [dependencies.docfg] version = "0.1.0" [dependencies.futures] version = "0.3.24" optional = true default-features = false [dependencies.num-traits] version = "0.2.15" default-features = false [dependencies.once_cell] version = "1.14.0" default-features = false [dependencies.pin-project-lite] version = "0.2.9" [dependencies.static_assertions] version = "1.1.0" [dev-dependencies.criterion] version = "0.4.0" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.tokio] version = "1.21.0" features = ["full"] [features] alloc = [ "crossbeam/alloc", "bytemuck/extern_crate_alloc", "once_cell/alloc", "futures?/alloc", ] alloc_api = [ "nightly", "alloc", ] const = ["nightly"] default = ["std"] futures = ["dep:futures"] nightly = [] std = [ "alloc", "crossbeam/std", "bytemuck/extern_crate_std", "num-traits/std", "once_cell/std", "futures?/std", ]