# 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 = "msgq"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Robust Redis Stream based message queue with auto-claim and retry handling / 基于 Redis Stream 的健壮消息队列，支持自动认领和重试处理"
homepage = "https://github.com/js0/rust/tree/main/msgq"
readme = "README.md"
keywords = [
    "redis",
    "stream",
    "queue",
    "async",
    "consumer",
]
license = "MulanPSL-2.0"
repository = "https://github.com/js0/rust.git"
resolver = "2"

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

[features]
default = []

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

[[test]]
name = "main"
path = "tests/main.rs"

[dependencies.aok]
version = "0.1.18"

[dependencies.bytes]
version = "1.11.0"

[dependencies.bytes-utils]
version = "0.1.4"

[dependencies.fred]
version = "10.1.0"

[dependencies.log]
version = "0.4.28"

[dependencies.tokio]
version = "1.46.1"
features = ["time"]

[dependencies.xkv]
version = "0.1.51"
features = ["r"]

[dev-dependencies.aok]
version = "0.1.18"

[dev-dependencies.log]
version = "0.4.28"

[dev-dependencies.log_init]
version = "0.1.28"

[dev-dependencies.static_init]
version = "1.0.4"

[dev-dependencies.tokio]
version = "1.46.1"
features = [
    "macros",
    "rt",
    "rt-multi-thread",
    "time",
    "sync",
]

[dev-dependencies.xboot]
version = "0.1.29"
