-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCargo.toml
28 lines (25 loc) · 993 Bytes
/
Cargo.toml
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
[package]
name = "redis-macros"
description = "Simple macros and wrappers to redis-rs to automatically serialize and deserialize structs with serde."
version = "0.5.2"
edition = "2021"
authors = ["Daniel Grant"]
readme = "README.md"
homepage = "https://github.com/daniel7grant/redis-macros"
repository = "https://github.com/daniel7grant/redis-macros"
license = "MIT"
keywords = ["redis", "macro", "derive", "json"]
[dependencies]
redis = { version = "0.29", optional = true }
redis-macros-derive = { version = "0.5", optional = true, path = "./redis-macros-derive" }
serde = { version = "1.0", features = ["derive"], optional = true }
serde_json = { version = "1.0", optional = true }
[features]
default = ["json", "macros"]
json = ["dep:redis", "dep:serde", "dep:serde_json"]
macros = ["dep:redis-macros-derive"]
[dev-dependencies]
deadpool-redis = "0.20"
redis = { version = "0.29", features = ["tokio-comp", "json"] }
serde_yaml = "0.9"
tokio = { version = "1.41", features = ["full"] }