[package]
edition = "2024"
name = "rrq-protocol"
version = "0.11.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared RRQ runner protocol types."
homepage = "https://github.com/getresq/rrq"
documentation = "https://docs.rs/rrq-protocol"
readme = "README.md"
keywords = [
"rrq",
"redis",
"queue",
"jobs",
"protocol",
]
categories = ["asynchronous"]
license = "Apache-2.0"
repository = "https://github.com/getresq/rrq"
resolver = "2"
[lib]
name = "rrq_protocol"
path = "src/lib.rs"
[dependencies.chrono]
version = "0.4.43"
features = ["serde"]
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[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"