# 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 = "rutin"
version = "0.1.0"
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "redis implemented using rust"
homepage = "https://github.com/sqfzy/rutin"
readme = "README.md"
keywords = [
    "redis",
    "async",
    "database",
    "kv",
]
categories = ["database"]
license = "MIT"
repository = "https://github.com/sqfzy/rutin"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
debug = 0
panic = "abort"

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

[[bin]]
name = "rutin"
path = "src/main.rs"

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

[dependencies.ahash]
version = "0.8.11"

[dependencies.anyhow]
version = "1.0.59"

[dependencies.arc-swap]
version = "1.7.1"

[dependencies.async-shutdown]
version = "0.2.2"

[dependencies.atoi]
version = "2.0.0"

[dependencies.backon]
version = "0.4.4"

[dependencies.bus]
version = "2.4.1"

[dependencies.bytes]
version = "1.5"

[dependencies.bytestring]
version = "1.3.1"

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.config]
version = "0.14.0"

[dependencies.console-subscriber]
version = "0.3.0"

[dependencies.crc]
version = "3.0.1"

[dependencies.crossbeam]
version = "0.8.4"
features = [
    "crossbeam-queue",
    "nightly",
]

[dependencies.dashmap]
version = "6.0.0"
features = [
    "raw-api",
    "inline",
    "rayon",
]

[dependencies.either]
version = "1.12.0"

[dependencies.event-listener]
version = "5.3.1"

[dependencies.flume]
version = "0.11.0"
features = [
    "async",
    "spin",
]

[dependencies.futures]
version = "0.3"

[dependencies.itoa]
version = "1.0.11"

[dependencies.kanal]
version = "0.1.0-pre8"

[dependencies.memchr]
version = "2.7.2"

[dependencies.mimalloc]
version = "0.1"

[dependencies.mlua]
version = "0.9.8"
features = [
    "async",
    "lua54",
    "send",
    "vendored",
]

[dependencies.num-bigint]
version = "0.4.5"

[dependencies.num_cpus]
version = "1.16.0"

[dependencies.once_cell]
version = "1.19.0"

[dependencies.owning_ref]
version = "0.4.1"

[dependencies.parking_lot]
version = "0.12.1"

[dependencies.pin-project]
version = "1.1.5"

[dependencies.polonius-the-crab]
version = "0.4.1"

[dependencies.rand]
version = "0.8.5"

[dependencies.rayon]
version = "1.10.0"

[dependencies.regex]
version = "1.10.4"

[dependencies.rustls]
version = "0.23.7"

[dependencies.rustls-pemfile]
version = "2.1.2"

[dependencies.ryu]
version = "1.0.17"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.skiplist]
version = "0.5.1"

[dependencies.smallvec]
version = "1.13.2"

[dependencies.snafu]
version = "0.8.2"

[dependencies.strum]
version = "0.26"
features = ["derive"]

[dependencies.tokio]
version = "1"
features = [
    "full",
    "tracing",
]

[dependencies.tokio-rustls]
version = "0.26.0"

[dependencies.tokio-rustls-acme]
version = "0.3.0"

[dependencies.tokio-uring]
version = "0.5.0"

[dependencies.tokio-util]
version = "0.7.11"
features = ["full"]

[dependencies.tracing]
version = "0.1.40"

[dependencies.tracing-subscriber]
version = "0.3.18"

[dependencies.try-lock]
version = "0.2.5"

[dependencies.yoke]
version = "0.7.4"
features = ["derive"]

[dev-dependencies.assert_cmd]
version = "2.0.14"
features = ["color-auto"]

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

[features]
debug = []
fake_client = []
fake_server = []