# 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"
rust-version = "1.89"
name = "kadcast"
version = "0.8.0"
authors = ["herr-seppia <seppia@dusk.network>"]
build = false
exclude = [
    ".git*",
    "ARCHITECTURE.md",
    "architecture.jpg",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Implementation of the Kadcast Network Protocol."
readme = "README.md"
keywords = [
    "p2p",
    "network",
    "kad",
    "peer-to-peer",
    "kadcast",
]
categories = ["network-programming"]
license = "MPL-2.0"
repository = "https://github.com/dusk-network/kadcast"

[features]
default = ["raptorq"]
diagnostics = []

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

[[example]]
name = "kadcast"
path = "examples/main.rs"

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

[dependencies.arrayvec]
version = "0.7"

[dependencies.blake2]
version = "0.10"

[dependencies.hex]
version = "0.4"

[dependencies.humantime-serde]
version = "1"

[dependencies.itertools]
version = "0.10"

[dependencies.rand]
version = "0.8"

[dependencies.raptorq]
version = "2.0"
optional = true

[dependencies.semver]
version = "1"

[dependencies.serde]
version = "1"

[dependencies.serde_derive]
version = "1"

[dependencies.socket2]
version = "0.6"

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

[dependencies.tracing]
version = "0.1"

[dev-dependencies.clap]
version = "4.5"

[dev-dependencies.rustc_tools_util]
version = "0.2"

[dev-dependencies.toml]
version = "0.5"

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