# 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" name = "redis-protocol" version = "5.0.1" authors = ["Alec Embke "] exclude = [ "fuzz", ".circleci", "benches", ] description = "An implementation of the RESP2 and RESP3 protocols." homepage = "https://github.com/aembke/redis-protocol.rs" readme = "README.md" keywords = [ "redis", "protocol", "RESP", "no_std", ] license = "MIT" repository = "https://github.com/aembke/redis-protocol.rs" [package.metadata.docs.rs] features = [ "bytes", "std", "codec", "convert", "resp2", "resp3", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "redis_protocol" test = true doctest = true doc = true [dependencies.bytes] version = "1.1" optional = true default-features = false [dependencies.bytes-utils] version = "0.1" optional = true default-features = false [dependencies.cookie-factory] version = "=0.3.2" default-features = false [dependencies.crc16] version = "0.4" [dependencies.hashbrown] version = "0.14" optional = true [dependencies.indexmap] version = "2.2" optional = true [dependencies.libm] version = "0.2" optional = true [dependencies.log] version = "0.4" [dependencies.nom] version = "7.1" default-features = false [dependencies.tokio-util] version = "0.7" features = ["codec"] optional = true [dev-dependencies.criterion] version = "0.4" features = ["html_reports"] [dev-dependencies.futures] version = "0.3" [dev-dependencies.itertools] version = "0.12" [dev-dependencies.pretty_env_logger] version = "0.5" [dev-dependencies.rand] version = "0.8" [dev-dependencies.tokio] version = "1.36" features = ["full"] [features] alloc = ["nom/alloc"] bytes = [ "dep:bytes", "bytes-utils", ] codec = [ "tokio-util", "bytes", ] convert = [] decode-logs = [] default = [ "std", "resp2", "resp3", ] index-map = ["indexmap"] resp2 = [] resp3 = [] std = [ "cookie-factory/default", "nom/default", ]