-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathCargo.toml
More file actions
33 lines (30 loc) · 1.15 KB
/
Copy pathCargo.toml
File metadata and controls
33 lines (30 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[package]
name = "memcache"
version = "0.21.0"
authors = ["An Long <aisk1988@gmail.com>"]
repository = "https://github.com/aisk/rust-memcache"
readme = "README.md"
license = "MIT"
description = "memcached client for rust"
keywords = ["memcache", "memcached", "driver", "cache", "database"]
edition = "2024"
[features]
default = []
tls = ["dep:rustls", "dep:rustls-pki-types", "dep:rustls-native-certs"]
tokio = ["dep:tokio"]
serde_json = ["dep:serde", "dep:serde_json"]
[dependencies]
byteorder = "1"
url = "^2.1"
rand = "0.10"
enum_dispatch = "0.3"
rustls = { version = "0.23", default-features = false, features = ["ring", "std", "tls12"], optional = true }
rustls-pki-types = { version = "1", features = ["std"], optional = true }
rustls-native-certs = { version = "0.8", optional = true }
r2d2 = "^0.8"
tokio = { version = "1", features = ["io-util", "net", "rt", "sync", "time"], optional = true }
serde = { version = "1", optional = true }
serde_json = { version = "1", optional = true }
[dev-dependencies]
serde = { version = "1", features = ["derive"] }
tokio = { version = "1", features = ["io-util", "net", "rt", "rt-multi-thread", "sync", "macros", "time"] }