[package]
edition = "2024"
rust-version = "1.95"
name = "ruststream-fred"
version = "0.7.0"
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",
"ruststream",
]
categories = [
"asynchronous",
"network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/powersemmi/ruststream-fred"
[package.metadata.docs.rs]
all-features = true
[features]
asyncapi = ["ruststream/asyncapi"]
credential-provider = ["fred/credential-provider"]
default = []
sentinel-auth = ["fred/sentinel-auth"]
testing = [
"ruststream/testing",
"fred/mocks",
]
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_claiming"
path = "examples/fred_claiming.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_list_dead_letter"
path = "examples/fred_list_dead_letter.rs"
[[example]]
name = "fred_pipeline"
path = "examples/fred_pipeline.rs"
[[example]]
name = "fred_pubsub"
path = "examples/fred_pubsub.rs"
[[example]]
name = "fred_reclaim"
path = "examples/fred_reclaim.rs"
[[example]]
name = "fred_seek"
path = "examples/fred_seek.rs"
[[example]]
name = "fred_streams"
path = "examples/fred_streams.rs"
[[example]]
name = "fred_testing"
path = "examples/fred_testing.rs"
[[example]]
name = "fred_tls"
path = "examples/fred_tls.rs"
required-features = ["tls-rustls"]
[[example]]
name = "fred_topologies"
path = "examples/fred_topologies.rs"
[[example]]
name = "fred_transaction"
path = "examples/fred_transaction.rs"
[[test]]
name = "asyncapi"
path = "tests/asyncapi.rs"
[[test]]
name = "both_modes_fred"
path = "tests/both_modes_fred.rs"
[[test]]
name = "claiming"
path = "tests/claiming.rs"
[[test]]
name = "conformance_fred"
path = "tests/conformance_fred.rs"
[[test]]
name = "conformance_suites"
path = "tests/conformance_suites.rs"
[[test]]
name = "connect_runtime"
path = "tests/connect_runtime.rs"
[[test]]
name = "deferred_retry"
path = "tests/deferred_retry.rs"
[[test]]
name = "fred_pool"
path = "tests/fred_pool.rs"
[[test]]
name = "in_process_fred"
path = "tests/in_process_fred.rs"
[[test]]
name = "integration_claiming"
path = "tests/integration_claiming.rs"
[[test]]
name = "integration_fred"
path = "tests/integration_fred.rs"
[[test]]
name = "integration_pipeline"
path = "tests/integration_pipeline.rs"
[[test]]
name = "integration_pubsub"
path = "tests/integration_pubsub.rs"
[[test]]
name = "integration_redelivery"
path = "tests/integration_redelivery.rs"
[[test]]
name = "pipeline_batch"
path = "tests/pipeline_batch.rs"
[[test]]
name = "pipeline_bind"
path = "tests/pipeline_bind.rs"
[[test]]
name = "pipeline_list"
path = "tests/pipeline_list.rs"
[[test]]
name = "pipeline_pubsub"
path = "tests/pipeline_pubsub.rs"
[[test]]
name = "pipeline_stream"
path = "tests/pipeline_stream.rs"
[[test]]
name = "preludes"
path = "tests/preludes.rs"
[[test]]
name = "publish_options"
path = "tests/publish_options.rs"
[[test]]
name = "redelivery_per_form"
path = "tests/redelivery_per_form.rs"
[[test]]
name = "retry_declaration"
path = "tests/retry_declaration.rs"
[[test]]
name = "routes"
path = "tests/routes.rs"
[[test]]
name = "testing_default_group"
path = "tests/testing_default_group.rs"
[[test]]
name = "testing_forms"
path = "tests/testing_forms.rs"
[dependencies.bytes]
version = "1"
[dependencies.fred]
version = "10"
features = [
"i-scripts",
"i-client",
]
[dependencies.futures]
version = "0.3"
[dependencies.ruststream]
version = "0.7"
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.77"
[dev-dependencies.ruststream]
version = "0.7"
features = [
"asyncapi",
"conformance",
"testing",
"macros",
"json",
"cbor",
"msgpack",
]
default-features = false
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1"
[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"