# 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.92"
name = "burn_p2p_e2e"
version = "0.21.0-pre.22"
authors = ["burn_p2p contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Public downstream e2e and browser-validation facade for burn_p2p."
readme = "README.md"
keywords = [
    "burn",
    "distributed",
    "p2p",
    "federated",
    "training",
]
categories = [
    "network-programming",
    "science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/aberration-technology/burn_p2p"

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

[dependencies.anyhow]
version = "1.0"

[dependencies.burn_p2p]
version = "=0.21.0-pre.22"

[dependencies.burn_p2p_browser]
version = "=0.21.0-pre.22"

[dependencies.burn_p2p_core]
version = "=0.21.0-pre.22"

[dependencies.burn_p2p_metrics]
version = "=0.21.0-pre.22"

[dependencies.burn_p2p_publish]
version = "=0.21.0-pre.22"

[dependencies.chrono]
version = "0.4"
features = [
    "clock",
    "serde",
]

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

[dependencies.serde_json]
version = "1.0"

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

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
    "time",
]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.burn_p2p_testkit]
version = "=0.21.0-pre.22"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.libp2p-identity]
version = "0.2.13"
features = [
    "ed25519",
    "peerid",
    "rand",
]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.reqwest]
version = "0.12"
features = ["json"]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.semver]
version = "1.0.27"
features = ["serde"]

[target.'cfg(target_arch = "wasm32")'.dependencies.gloo-net]
version = "0.6"
features = ["json"]

[lints.clippy]
dbg_macro = "warn"
todo = "warn"
unwrap_used = "warn"

[lints.rust]
unsafe_code = "forbid"
