[package]
edition = "2024"
name = "kevy-client-async"
version = "1.0.21"
authors = ["GOLIA K.K."]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async client for kevy — runtime-agnostic core with feature-gated tokio / smol / async-std transports; mirrors the blocking kevy-client surface."
homepage = "https://github.com/goliajp/kevy"
documentation = "https://docs.rs/kevy-client-async"
readme = "README.md"
keywords = [
"kevy",
"redis",
"kv",
"client",
"async",
]
categories = [
"database",
"caching",
"api-bindings",
"asynchronous",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/goliajp/kevy"
[features]
async-std = ["dep:async-std"]
default = ["tokio"]
smol = ["dep:smol"]
tokio = ["dep:tokio"]
[lib]
name = "kevy_client_async"
path = "src/lib.rs"
[[example]]
name = "bench_throughput"
path = "examples/bench_throughput.rs"
[[example]]
name = "pipeline"
path = "examples/pipeline.rs"
[[example]]
name = "tokio_hello"
path = "examples/tokio_hello.rs"
[[test]]
name = "async_std_basic"
path = "tests/async_std_basic.rs"
[[test]]
name = "bench_vs_blocking"
path = "tests/bench_vs_blocking.rs"
[[test]]
name = "smol_basic"
path = "tests/smol_basic.rs"
[[test]]
name = "tokio_basic"
path = "tests/tokio_basic.rs"
[dependencies.async-std]
version = "1"
optional = true
[dependencies.kevy-hash]
version = "1.24.0"
[dependencies.kevy-resp]
version = "1.24.0"
[dependencies.smol]
version = "2"
optional = true
default-features = false
[dependencies.tokio]
version = "1"
features = [
"net",
"rt",
"io-util",
]
optional = true
default-features = false
[dev-dependencies.async-std]
version = "1"
features = ["attributes"]
[dev-dependencies.smol]
version = "2"
[dev-dependencies.tokio]
version = "1"
features = [
"net",
"io-util",
"macros",
"rt",
"rt-multi-thread",
"time",
]
[lints.clippy.all]
level = "deny"
priority = 0
[lints.rust]
warnings = "deny"