[package]
edition = "2024"
rust-version = "1.97"
name = "dex-protocol"
version = "1.26.0"
build = "build.rs"
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generated Dex protobuf and gRPC protocol"
readme = "README.md"
license-file = "LICENSE"
repository = "https://github.com/superdurable/dex"
[lib]
name = "dex_protocol"
path = "src/lib.rs"
[dependencies.prost]
version = "0.14"
[dependencies.prost-types]
version = "0.14"
[dependencies.tonic]
version = "0.14"
[dependencies.tonic-prost]
version = "0.14"
[build-dependencies.protoc-bin-vendored]
version = "3.2"
[build-dependencies.tonic-prost-build]
version = "0.14"
[lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
dbg_macro = "warn"
let_underscore_future = "warn"
let_underscore_must_use = "warn"
match_wildcard_for_single_variants = "warn"
print_stderr = "allow"
print_stdout = "allow"
todo = "warn"
unimplemented = "warn"
unused_result_ok = "warn"
unwrap_used = "warn"
[lints.rust]
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_must_use = "deny"