[package]
name = "redis-server-wrapper"
version = "0.2.0"
edition = "2024"
authors = ["Josh Rotenberg <joshrotenberg@gmail.com>"]
description = "Type-safe wrapper for redis-server and redis-cli with builder pattern APIs"
license = "MIT OR Apache-2.0"
repository = "https://github.com/joshrotenberg/redis-server-wrapper"
documentation = "https://docs.rs/redis-server-wrapper"
homepage = "https://github.com/joshrotenberg/redis-server-wrapper"
keywords = ["redis", "testing", "wrapper", "server"]
categories = ["development-tools::testing", "database"]
readme = "README.md"
rust-version = "1.87"
exclude = [".github/", "tests/", "examples/"]
[features]
default = ["tokio"]
tokio = ["dep:tokio"]
blocking = ["tokio"]
[dependencies]
thiserror = "2"
tokio = { version = "1", features = ["process", "time", "rt", "macros", "rt-multi-thread"], optional = true }
which = "7"
[dev-dependencies]
clap = { version = "4", features = ["derive"] }
ctrlc = "3"
[[example]]
name = "redis-run"
path = "examples/redis-run.rs"
[workspace]