segment-buffer 0.3.0

Durable bounded queue with zstd+CBOR segment files, ack-based deletion, and crash recovery
Documentation
# 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"
rust-version = "1.85"
name = "segment-buffer"
version = "0.3.0"
authors = ["Lars Artmann <lars@larsartmann.com>"]
build = false
exclude = [
    "/target",
    "/.github",
    "/fuzz",
    "/benches",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Durable bounded queue with zstd+CBOR segment files, ack-based deletion, and crash recovery"
homepage = "https://github.com/LarsArtmann/segment-buffer"
documentation = "https://docs.rs/segment-buffer"
readme = "README.md"
keywords = [
    "queue",
    "disk",
    "durable",
    "segment",
    "buffer",
]
categories = [
    "data-structures",
    "filesystem",
]
license = "Apache-2.0"
repository = "https://github.com/LarsArtmann/segment-buffer"

[features]
default = []
encryption = [
    "dep:aes-gcm",
    "dep:rand",
]

[lib]
name = "segment_buffer"
path = "src/lib.rs"

[[example]]
name = "backpressure"
path = "examples/backpressure.rs"

[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"

[[example]]
name = "encrypted"
path = "examples/encrypted.rs"
required-features = ["encryption"]

[dependencies.aes-gcm]
version = "0.10"
optional = true

[dependencies.ciborium]
version = "0.2"

[dependencies.parking_lot]
version = "0.12"

[dependencies.rand]
version = "0.8"
optional = true

[dependencies.serde]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"

[dependencies.zstd]
version = "0.13"

[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.serde]
version = "1"
features = ["derive"]

[dev-dependencies.tempfile]
version = "3"