[dependencies.redis]
optional = true
version = "0.27"
[dependencies.redis-macros-derive]
optional = true
version = "0.4"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0"
[dependencies.serde_json]
optional = true
version = "1.0"
[dev-dependencies.deadpool-redis]
version = "0.18"
[dev-dependencies.redis]
features = ["tokio-comp", "json"]
version = "0.27"
[dev-dependencies.serde_yaml]
version = "0.9"
[dev-dependencies.tokio]
features = ["full"]
version = "1.41"
[[example]]
name = "derive_async"
path = "examples/derive_async.rs"
[[example]]
name = "derive_basic"
path = "examples/derive_basic.rs"
[[example]]
name = "derive_deadpool"
path = "examples/derive_deadpool.rs"
[[example]]
name = "derive_generic"
path = "examples/derive_generic.rs"
[[example]]
name = "derive_redisjson"
path = "examples/derive_redisjson.rs"
[[example]]
name = "derive_yaml"
path = "examples/derive_yaml.rs"
[[example]]
name = "json_wrapper_basic"
path = "examples/json_wrapper_basic.rs"
[[example]]
name = "json_wrapper_modify"
path = "examples/json_wrapper_modify.rs"
[features]
default = ["json", "macros"]
json = ["dep:redis", "dep:serde", "dep:serde_json"]
macros = ["dep:redis-macros-derive"]
[lib]
name = "redis_macros"
path = "src/lib.rs"
[package]
authors = ["Daniel Grant"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Simple macros and wrappers to redis-rs to automatically serialize and deserialize structs with serde."
edition = "2021"
homepage = "https://github.com/daniel7grant/redis-macros"
keywords = ["redis", "macro", "derive", "json"]
license = "MIT"
name = "redis-macros"
readme = "README.md"
repository = "https://github.com/daniel7grant/redis-macros"
version = "0.4.3"
[[test]]
name = "derive_from_redis_value"
path = "tests/derive_from_redis_value.rs"
[[test]]
name = "derive_from_redis_value_redis_yaml"
path = "tests/derive_from_redis_value_redis_yaml.rs"
[[test]]
name = "derive_to_redis_args"
path = "tests/derive_to_redis_args.rs"
[[test]]
name = "derive_to_redis_args_redis_yaml"
path = "tests/derive_to_redis_args_redis_yaml.rs"
[[test]]
name = "json_wrapper"
path = "tests/json_wrapper.rs"