truffle-core 0.7.3

Truffle mesh networking core (clean architecture)
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 = "2021"
rust-version = "1.88"
name = "truffle-core"
version = "0.7.3"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Truffle mesh networking core (clean architecture)"
readme = false
license = "MIT"
repository = "https://github.com/jamesyong-42/truffle"

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

[[example]]
name = "peer_test"
path = "examples/peer_test.rs"

[[example]]
name = "transport_peer_test"
path = "examples/transport_peer_test.rs"

[[test]]
name = "integration_eager_identity"
path = "tests/integration_eager_identity.rs"

[[test]]
name = "integration_file_transfer"
path = "tests/integration_file_transfer.rs"

[[test]]
name = "integration_network"
path = "tests/integration_network.rs"

[[test]]
name = "integration_request_reply"
path = "tests/integration_request_reply.rs"

[[test]]
name = "integration_synced_store"
path = "tests/integration_synced_store.rs"

[[test]]
name = "integration_transport"
path = "tests/integration_transport.rs"

[[test]]
name = "interop_fixtures"
path = "tests/interop_fixtures.rs"

[[bench]]
name = "chunk_hash"
path = "benches/chunk_hash.rs"
harness = false

[[bench]]
name = "envelope"
path = "benches/envelope.rs"
harness = false

[dependencies.base64]
version = "0.22"

[dependencies.blake3]
version = "1"

[dependencies.deunicode]
version = "1"

[dependencies.dirs]
version = "6"

[dependencies.futures-util]
version = "0.3"
features = ["sink"]

[dependencies.getrandom]
version = "0.2"

[dependencies.hex]
version = "0.4"

[dependencies.hostname]
version = "0.4"

[dependencies.quinn]
version = "0.11"

[dependencies.rcgen]
version = "0.14"

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.11"

[dependencies.subtle]
version = "2"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "net",
    "io-util",
    "sync",
    "macros",
    "time",
    "fs",
    "process",
]

[dependencies.tokio-tungstenite]
version = "0.29"

[dependencies.tokio-util]
version = "0.7"
features = ["rt"]

[dependencies.tracing]
version = "0.1"

[dependencies.ulid]
version = "1"

[dependencies.unicode-normalization]
version = "0.1"

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.dotenvy]
version = "0.15"

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

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

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "test-util",
]

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

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "warn"