communitas 0.2.6

A diagnostic chat application for the P2P Foundation network
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "communitas"
version = "0.2.6"
authors = ["David Irvine <saorsalabs@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A diagnostic chat application for the P2P Foundation network"
homepage = "https://github.com/dirvine/p2p"
readme = "README.md"
keywords = [
    "p2p",
    "chat",
    "diagnostics",
    "networking",
    "tauri",
]
categories = [
    "network-programming",
    "command-line-utilities",
]
license = "AGPL-3.0-or-later"
repository = "https://github.com/dirvine/p2p"
resolver = "2"

[package.metadata.tauri]
identifier = "com.p2pfoundation.communitas"

[features]
default = []
test-harness = ["proptest"]

[lib]
name = "communitas"
path = "src/lib.rs"

[[bin]]
name = "communitas"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.chrono]
version = "0.4"

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.dirs]
version = "5.0"

[dependencies.proptest]
version = "1.4"
optional = true

[dependencies.saorsa-core]
version = "0.2.6"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.sled]
version = "0.34"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.35"
features = ["full"]

[dependencies.tokio-stream]
version = "0.1"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.uuid]
version = "1.6"
features = [
    "v4",
    "serde",
]

[dev-dependencies.proptest]
version = "1.4"

[dev-dependencies.tempfile]
version = "3.8"

[lints.clippy]
arithmetic_overflow = "deny"
cast_possible_truncation = "warn"
cast_possible_wrap = "warn"
cast_precision_loss = "warn"
cast_sign_loss = "warn"
clone_on_ref_ptr = "deny"
enum_glob_use = "deny"
expect_used = "deny"
fallible_impl_from = "deny"
float_arithmetic = "warn"
indexing_slicing = "warn"
inefficient_to_string = "deny"
integer_arithmetic = "warn"
large_enum_variant = "warn"
lossy_float_literal = "deny"
mem_forget = "deny"
mixed_script_confusables = "deny"
multiple_inherent_impl = "warn"
mutable_key_type = "deny"
mutex_atomic = "warn"
needless_collect = "deny"
panic = "deny"
panic_in_result_fn = "deny"
suspicious_else_formatting = "deny"
suspicious_unary_op_formatting = "deny"
todo = "warn"
unicode_not_nfc = "warn"
unimplemented = "deny"
unreachable = "deny"
unwrap_in_result = "deny"
unwrap_used = "deny"

[lints.rust]
anonymous_parameters = "deny"
missing_docs = "warn"
non_ascii_idents = "deny"
trivial_numeric_casts = "deny"
unsafe_code = "warn"