[package]
edition = "2021"
name = "commonware-chat"
version = "2026.2.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Send encrypted messages to a group of friends using commonware-cryptography and commonware-p2p."
homepage = "https://commonware.xyz"
documentation = "https://docs.rs/commonware-chat"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/commonwarexyz/monorepo/tree/main/examples/chat"
[[bin]]
name = "commonware-chat"
path = "src/main.rs"
bench = false
[dependencies.chrono]
version = "0.4.39"
[dependencies.clap]
version = "4.5.18"
[dependencies.commonware-cryptography]
version = "2026.2.0"
default-features = false
[dependencies.commonware-macros]
version = "2026.2.0"
default-features = false
[dependencies.commonware-p2p]
version = "2026.2.0"
[dependencies.commonware-runtime]
version = "2026.2.0"
[dependencies.commonware-utils]
version = "2026.2.0"
default-features = false
[dependencies.crossterm]
version = "0.29.0"
[dependencies.futures]
version = "0.3.31"
[dependencies.prometheus-client]
version = "0.24.0"
[dependencies.ratatui]
version = "0.29.0"
[dependencies.serde_json]
version = "1.0.122"
[dependencies.tracing]
version = "0.1.41"
[dependencies.tracing-subscriber]
version = "0.3.19"
features = [
"fmt",
"json",
]
[lints.clippy]
disallowed_macros = "deny"
disallowed_types = "deny"
missing-const-for-fn = "warn"
option-if-let-else = "warn"
redundant-clone = "warn"
suspicious_op_assign_impl = "allow"
undocumented_unsafe_blocks = "deny"
use-self = "warn"
[lints.rust]
rust-2018-idioms = "deny"
unused-must-use = "deny"
warnings = "deny"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(full_bench)",
"cfg(generate_conformance_tests)",
"cfg(commonware_stability_BETA)",
"cfg(commonware_stability_GAMMA)",
"cfg(commonware_stability_DELTA)",
"cfg(commonware_stability_EPSILON)",
"cfg(commonware_stability_RESERVED)",
]