# 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 = "ringline-redis"
version = "0.4.0"
authors = ["Brian Martin <brayniac@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Redis (RESP) client for the ringline io_uring runtime"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/brayniac/ringline"
resolver = "2"

[features]
default = ["metrics"]
metrics = ["dep:histogram"]
timestamps = [
    "ringline/timestamps",
    "dep:libc",
]

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

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

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

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

[[bench]]
name = "resp_bench"
path = "benches/resp_bench.rs"
harness = false

[dependencies.bytes]
version = "1.11.1"

[dependencies.histogram]
version = "0.11"
optional = true

[dependencies.itoa]
version = "1"

[dependencies.ketama]
version = "0.0.1"

[dependencies.libc]
version = "0.2"
optional = true

[dependencies.resp-proto]
version = "0.0.1"

[dependencies.ringline]
version = "0.2"

[dependencies.thiserror]
version = "2"

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

[dev-dependencies.ringline]
version = "0.2"
features = ["testing"]
