[package]
edition = "2024"
rust-version = "1.85"
name = "arcbox-protocol"
version = "0.1.4"
authors = ["AprilNEA <dev@aprilnea.me> (https://aprilnea.me)"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Protocol definitions for ArcBox (ttrpc/protobuf)"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/AprilNEA/arcbox"
[features]
default = []
[lib]
name = "arcbox_protocol"
path = "src/lib.rs"
[dependencies.prost]
version = "0.13"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.thiserror]
version = "2"
[dependencies.tonic]
version = "0.12"
[dev-dependencies.serde_json]
version = "1"
[build-dependencies.prost-build]
version = "0.13"
[build-dependencies.tonic-build]
version = "0.12"
[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
default_trait_access = "allow"
derive_partial_eq_without_eq = "allow"
doc_markdown = "allow"
if_not_else = "allow"
items_after_statements = "allow"
manual_let_else = "allow"
match_same_arms = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
option_if_let_else = "allow"
redundant_closure_for_method_calls = "allow"
redundant_else = "allow"
return_self_not_must_use = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
uninlined_format_args = "allow"
unreadable_literal = "allow"
unused_async = "allow"
unused_self = "allow"
wildcard_imports = "allow"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]