kafko 0.3.0

In-process log with Kafka-like semantics: topics, partitions, offset-based reads, replay, retention.
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 = "2024"
name = "kafko"
version = "0.3.0"
authors = ["Vadym Prygoda <https://github.com/Vadimus1983>"]
build = false
exclude = [
    "tests/",
    "benches/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "In-process log with Kafka-like semantics: topics, partitions, offset-based reads, replay, retention."
homepage = "https://github.com/Vadimus1983/kafko"
documentation = "https://docs.rs/kafko"
readme = "README.md"
keywords = [
    "kafka",
    "log",
    "event-sourcing",
    "embedded",
    "wal",
]
categories = [
    "data-structures",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Vadimus1983/kafko"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
compression-all = [
    "compression-lz4",
    "compression-zstd",
]
compression-lz4 = ["dep:lz4_flex"]
compression-zstd = ["dep:zstd"]
default = []
hotpath = [
    "dep:hotpath",
    "hotpath/hotpath",
]

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

[dependencies.bytes]
version = "1"

[dependencies.crc32fast]
version = "1"

[dependencies.fs4]
version = "0.13"

[dependencies.hotpath]
version = "0.16.1"
optional = true

[dependencies.lz4_flex]
version = "0.13"
features = ["std"]
optional = true
default-features = false

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1"
features = [
    "fs",
    "io-util",
    "macros",
    "rt",
    "rt-multi-thread",
    "sync",
    "time",
]

[dependencies.zstd]
version = "0.13"
optional = true

[dev-dependencies.criterion]
version = "0.5"
features = ["async_tokio"]

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

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