# 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 = "hotmint-network"
version = "0.8.5"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "P2P networking layer for Hotmint using litep2p"
readme = "README.md"
keywords = [
    "consensus",
    "tendermint",
    "hotstuff",
    "hotstuff2",
    "bft",
]
license = "GPL-3.0-only"
repository = "https://github.com/NBnet/hotmint"
resolver = "2"

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

[dependencies.blake3]
version = "1"

[dependencies.futures]
version = "0.3"

[dependencies.hotmint-consensus]
version = "0.8.5"

[dependencies.hotmint-types]
version = "0.8.5"

[dependencies.litep2p]
version = "0.13"

[dependencies.postcard]
version = "1.1"
features = ["alloc"]

[dependencies.rand]
version = "0.8"

[dependencies.ruc]
version = "9.3"

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

[dependencies.serde_json]
version = "1"

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

[dependencies.tracing]
version = "0.1"

[dependencies.zstd]
version = "0.13"
