resp-rs 0.1.8

Zero-copy RESP2 and RESP3 protocol parser and serializer
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"
rust-version = "1.85"
name = "resp-rs"
version = "0.1.8"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zero-copy RESP2 and RESP3 protocol parser and serializer"
homepage = "https://github.com/joshrotenberg/resp-rs"
documentation = "https://docs.rs/resp-rs"
readme = "README.md"
keywords = [
    "redis",
    "resp",
    "protocol",
    "parser",
    "resp3",
]
categories = [
    "parser-implementations",
    "network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/joshrotenberg/resp-rs"

[features]
cluster = []
codec = [
    "std",
    "dep:tokio-util",
    "dep:tokio",
]
default = ["std"]
std = [
    "thiserror/std",
    "bytes/std",
]
unsafe-internals = []

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

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

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

[[example]]
name = "ping"
path = "examples/ping.rs"
required-features = ["codec"]

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

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

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

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

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

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

[dependencies.bytes]
version = "1"
default-features = false

[dependencies.thiserror]
version = "2"
default-features = false

[dependencies.tokio]
version = "1"
optional = true

[dependencies.tokio-util]
version = "0.7"
features = ["codec"]
optional = true

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

[dev-dependencies.futures]
version = "0.3"

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

[dev-dependencies.redis-protocol]
version = "6"
features = [
    "resp2",
    "resp3",
    "bytes",
]

[dev-dependencies.tokio]
version = "1"
features = ["full"]