[package]
edition = "2024"
rust-version = "1.88"
name = "ruststream-fred"
version = "0.4.1"
authors = ["RustStream contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Redis / Valkey broker implementation (Streams) for the RustStream messaging framework, backed by fred."
readme = "README.md"
keywords = [
"redis",
"streams",
"messaging",
"broker",
"faststream",
]
categories = [
"asynchronous",
"network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/powersemmi/ruststream-fred"
[package.metadata.docs.rs]
all-features = true
[features]
credential-provider = ["fred/credential-provider"]
default = []
sentinel-auth = ["fred/sentinel-auth"]
testing = ["ruststream/conformance"]
tls-native-tls = ["fred/enable-native-tls"]
tls-rustls = ["fred/enable-rustls"]
tls-rustls-ring = ["fred/enable-rustls-ring"]
[lib]
name = "ruststream_fred"
path = "src/lib.rs"
[[example]]
name = "fred_auth"
path = "examples/fred_auth.rs"
[[example]]
name = "fred_dead_letter"
path = "examples/fred_dead_letter.rs"
[[example]]
name = "fred_delayed_retry"
path = "examples/fred_delayed_retry.rs"
[[example]]
name = "fred_list"
path = "examples/fred_list.rs"
[[example]]
name = "fred_pubsub"
path = "examples/fred_pubsub.rs"
[[example]]
name = "fred_reclaim"
path = "examples/fred_reclaim.rs"
[[example]]
name = "fred_streams"
path = "examples/fred_streams.rs"
[[example]]
name = "fred_tls"
path = "examples/fred_tls.rs"
[[example]]
name = "fred_transaction"
path = "examples/fred_transaction.rs"
[[test]]
name = "conformance_fred"
path = "tests/conformance_fred.rs"
[[test]]
name = "integration_fred"
path = "tests/integration_fred.rs"
[[test]]
name = "testing_core"
path = "tests/testing_core.rs"
[dependencies.bytes]
version = "1"
[dependencies.fred]
version = "10"
[dependencies.futures]
version = "0.3"
[dependencies.ruststream]
version = ">=0.4.0, <0.5.0"
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
"signal",
]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.async-trait]
version = "0.1"
[dev-dependencies.ruststream]
version = ">=0.4.0, <0.5.0"
features = [
"conformance",
"macros",
"json",
]
default-features = false
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
"signal",
"rt-multi-thread",
"macros",
"sync",
"time",
]
[lints.clippy]
missing_const_for_fn = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
redundant_pub_crate = "allow"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "deny"
priority = -1
[lints.clippy.suspicious]
level = "deny"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "deny"
unreachable_pub = "deny"
unsafe_op_in_unsafe_fn = "deny"
unused_qualifications = "warn"