[package]
edition = "2024"
rust-version = "1.96"
name = "thruput-rpc-api"
version = "0.4.0"
authors = ["Thruput Team"]
build = false
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Stable API boundary for the Thruput ONC-RPC stack: sender/handler traits and shared response/error types."
homepage = "https://github.com/thruputchain/xdrs"
readme = "README.md"
keywords = [
"xdr",
"rpc",
]
categories = [
"network-programming",
"asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/thruputchain/xdrs"
[lib]
name = "thruput_rpc_api"
path = "src/lib.rs"
[dependencies.async-trait]
version = "0.1.89"
[dependencies.thiserror]
version = "2.0"
[lints.clippy]
cloned_instead_of_copied = "warn"
explicit_iter_loop = "warn"
implicit_clone = "warn"
inefficient_to_string = "warn"
map_unwrap_or = "warn"
match_single_binding = "allow"
needless_pass_by_value = "warn"
redundant_pub_crate = "warn"
semicolon_if_nothing_returned = "warn"
trivially_copy_pass_by_ref = "warn"
uninlined_format_args = "warn"
unnecessary_wraps = "warn"
unnested_or_patterns = "warn"
upper_case_acronyms = "allow"
[lints.rust]
elided_lifetimes_in_paths = "warn"
missing_debug_implementations = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "warn"