dig-peer 0.4.0

The DIG Network peer client: DigPeer::connect(peer, tls) drives dig-nat's full direct→relay traversal ladder, exposes typed RPC over dig-rpc-protocol, seals directed calls end-to-end to the peer's captured BLS-G1 identity (§5.4) on top of mTLS, and disconnects cleanly. The client mirror of dig-rpc's server; distinct from ChiaPeer.
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.81.0"
name = "dig-peer"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The DIG Network peer client: DigPeer::connect(peer, tls) drives dig-nat's full direct→relay traversal ladder, exposes typed RPC over dig-rpc-protocol, seals directed calls end-to-end to the peer's captured BLS-G1 identity (§5.4) on top of mTLS, and disconnects cleanly. The client mirror of dig-rpc's server; distinct from ChiaPeer."
readme = "README.md"
keywords = [
    "dig",
    "p2p",
    "rpc",
    "peer",
    "mtls",
]
categories = [
    "network-programming",
    "api-bindings",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/DIG-Network/dig-peer"

[lib]
name = "dig_peer"
path = "src/lib.rs"
doctest = true

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

[dependencies.chia-protocol]
version = "0.26"

[dependencies.chia-traits]
version = "0.26"

[dependencies.dig-message]
version = "0.5"

[dependencies.dig-nat]
version = "0.10"

[dependencies.dig-rpc-protocol]
version = "0.3"

[dependencies.dig-tls]
version = "0.3"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "io-util",
    "rt",
    "macros",
    "time",
    "sync",
]

[dependencies.tracing]
version = "0.1"
features = ["std"]
default-features = false

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

[dev-dependencies.tokio-rustls]
version = "0.26"
features = ["ring"]
default-features = false

[lints.clippy]
all = "warn"

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"