-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
27 lines (24 loc) · 955 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
[package]
name = "redis-macros"
description = "Simple macros and wrappers to redis-rs to automatically serialize and deserialize structs with serde."
version = "0.1.0"
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.22.2", optional = true }
redis-macros-derive = { version = "0.1.0", optional = true }
serde = { version = "1.0.152", features = ["derive"], optional = true }
serde_json = { version = "1.0.91", optional = true }
[features]
default = ["json", "macros"]
json = ["dep:redis", "dep:serde", "dep:serde_json"]
macros = ["dep:redis-macros-derive"]
[dev-dependencies]
redis = { version = "0.22.2", features = ["tokio-comp", "json"] }
serde_yaml = "0.9.16"
tokio = { version = "1.24.1", features = ["full"] }