[package]
edition = "2024"
name = "infinity-protocol"
version = "0.2.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Wire protocol shared between the Infinity daemon and its clients."
documentation = "https://docs.rs/infinity-protocol/"
readme = false
license = "Apache-2.0"
repository = "https://github.com/hydro-project/infinity"
resolver = "2"
[lib]
name = "infinity_protocol"
path = "src/lib.rs"
[dependencies.dirs]
version = "6"
[dependencies.rap-protocol]
version = "^0.2.0"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.strkind]
version = "0.0.1"
[dependencies.tokio-util]
version = "0.7"
features = ["codec"]
[lints.clippy]
alloc_instead_of_core = "warn"
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
double_must_use = "allow"
explicit_into_iter_loop = "warn"
let_and_return = "allow"
manual_is_variant_and = "warn"
manual_let_else = "warn"
redundant_clone = "warn"
self_named_module_files = "warn"
str_to_string = "warn"
try_err = "warn"
uninlined_format_args = "allow"
unused_async = "warn"
unwrap_used = "warn"
[lints.rust]
impl_trait_overcaptures = "warn"
missing_unsafe_on_extern = "deny"
unsafe_attr_outside_unsafe = "deny"
unused_qualifications = "warn"