# 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_admin"
version = "0.21.0-pre.19"
authors = ["burn_p2p contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Transport-safe admin and operator client surface for burn_p2p edges."
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_admin"
path = "src/lib.rs"

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

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

[dependencies.burn_p2p_experiment]
version = "=0.21.0-pre.19"

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

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

[dependencies.thiserror]
version = "2.0"

[dev-dependencies.serde_json]
version = "1.0"

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

[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"
