[package]
edition = "2024"
name = "memcache"
version = "0.20.0"
authors = ["An Long <aisk1988@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "memcached client for rust"
readme = "README.md"
keywords = [
"memcache",
"memcached",
"driver",
"cache",
"database",
]
license = "MIT"
repository = "https://github.com/aisk/rust-memcache"
[features]
default = ["tls"]
tls = ["openssl"]
tokio = ["dep:tokio"]
[lib]
name = "memcache"
path = "src/lib.rs"
[[test]]
name = "test_ascii"
path = "tests/test_ascii.rs"
[[test]]
name = "test_exp"
path = "tests/test_exp.rs"
[[test]]
name = "tests"
path = "tests/tests.rs"
[dependencies.byteorder]
version = "1"
[dependencies.enum_dispatch]
version = "0.3"
[dependencies.openssl]
version = "^0.10"
optional = true
[dependencies.r2d2]
version = "^0.8"
[dependencies.rand]
version = "0.10"
[dependencies.tokio]
version = "1"
features = [
"io-util",
"net",
"time",
]
optional = true
[dependencies.url]
version = "^2.1"
[dev-dependencies.tokio]
version = "1"
features = [
"io-util",
"net",
"rt",
"macros",
"time",
]