[package]
edition = "2024"
name = "rrq-runner"
version = "0.11.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "RRQ runner runtime for Rust."
homepage = "https://github.com/getresq/rrq"
documentation = "https://docs.rs/rrq-runner"
readme = "README.md"
keywords = [
"rrq",
"redis",
"queue",
"jobs",
"runner",
]
categories = ["asynchronous"]
license = "Apache-2.0"
repository = "https://github.com/getresq/rrq"
resolver = "2"
[features]
otel = [
"opentelemetry",
"opentelemetry-otlp",
"opentelemetry_sdk",
"opentelemetry-appender-tracing",
"tracing-opentelemetry",
"tracing-subscriber",
]
[lib]
name = "rrq_runner"
path = "src/lib.rs"
[[example]]
name = "socket_runner"
path = "examples/socket_runner.rs"
[dependencies.async-trait]
version = "0.1.89"
[dependencies.chrono]
version = "0.4.43"
[dependencies.opentelemetry]
version = "0.31.0"
features = [
"trace",
"metrics",
"logs",
]
optional = true
default-features = false
[dependencies.opentelemetry-appender-tracing]
version = "0.31.1"
optional = true
[dependencies.opentelemetry-otlp]
version = "0.31.0"
features = [
"http-proto",
"reqwest-client",
"reqwest-rustls-webpki-roots",
"trace",
"metrics",
"logs",
]
optional = true
default-features = false
[dependencies.opentelemetry_sdk]
version = "0.31.0"
features = [
"rt-tokio",
"trace",
"metrics",
"logs",
"experimental_trace_batch_span_processor_with_async_runtime",
"experimental_metrics_periodicreader_with_async_runtime",
"experimental_logs_batch_log_processor_with_async_runtime",
]
optional = true
default-features = false
[dependencies.rrq-config]
version = "0.11.1"
[dependencies.rrq-protocol]
version = "0.11.1"
[dependencies.serde_json]
version = "1.0.149"
[dependencies.tokio]
version = "1.49.0"
features = [
"fs",
"io-util",
"macros",
"net",
"rt-multi-thread",
"sync",
"time",
]
[dependencies.tracing]
version = "0.1.44"
[dependencies.tracing-opentelemetry]
version = "0.32.1"
optional = true
[dependencies.tracing-subscriber]
version = "0.3.22"
features = [
"env-filter",
"fmt",
"registry",
]
optional = true
[target."cfg(unix)".dependencies.nix]
version = "0.30.1"
features = [
"signal",
"process",
]
default-features = false
[lints.clippy]
borrow_as_ptr = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
cloned_instead_of_copied = "allow"
default_trait_access = "allow"
doc_markdown = "allow"
elidable_lifetime_names = "allow"
float_cmp = "allow"
ignored_unit_patterns = "allow"
implicit_hasher = "allow"
inefficient_to_string = "allow"
items_after_statements = "allow"
large_futures = "allow"
manual_is_variant_and = "allow"
manual_let_else = "allow"
manual_string_new = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
redundant_closure_for_method_calls = "allow"
similar_names = "allow"
single_match_else = "allow"
struct_field_names = "allow"
too_many_lines = "allow"
uninlined_format_args = "allow"
unnecessary_semicolon = "allow"
unnecessary_wraps = "allow"
unnested_or_patterns = "allow"
unreadable_literal = "allow"
unused_self = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
dead_code = "warn"
unsafe_code = "deny"