# 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 = "ringbuf" version = "0.4.7" authors = ["Alexey Gerasev "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Lock-free SPSC FIFO ring buffer with direct access to inner data" documentation = "https://docs.rs/ringbuf" readme = "README.md" keywords = [ "lock-free", "spsc", "ring-buffer", "rb", "fifo", ] categories = [ "concurrency", "data-structures", "no-std", ] license = "MIT/Apache-2.0" repository = "https://github.com/agerasev/ringbuf.git" [lib] name = "ringbuf" path = "src/lib.rs" [[example]] name = "global_static" path = "examples/global_static.rs" [[example]] name = "message" path = "examples/message.rs" required-features = ["std"] [[example]] name = "overwrite" path = "examples/overwrite.rs" required-features = ["alloc"] [[example]] name = "simple" path = "examples/simple.rs" required-features = ["alloc"] [[example]] name = "static" path = "examples/static.rs" [[example]] name = "test_ordering" path = "examples/test_ordering.rs" required-features = ["std"] [dependencies.crossbeam-utils] version = "0.8" default-features = false [dependencies.portable-atomic] version = "1" optional = true default-features = false [dev-dependencies.once_mut] version = "0.1.0" [features] alloc = [] bench = [] default = ["std"] std = [ "alloc", "portable-atomic?/std", ] test_local = []