# 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_engine"
version = "0.21.0-pre.56"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Internal Burn execution engine boundary crate 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_engine"
path = "src/lib.rs"

[[bench]]
name = "module_merge"
path = "benches/module_merge.rs"
harness = false

[dependencies.burn]
version = "0.21.0-pre.3"
features = [
    "std",
    "ndarray",
    "train",
    "store",
]
default-features = false

[dependencies.burn-store]
version = "0.21.0-pre.3"
features = [
    "std",
    "burnpack",
    "safetensors",
]
default-features = false

[dependencies.burn_p2p_checkpoint]
version = "=0.21.0-pre.56"

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

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

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

[dependencies.thiserror]
version = "2.0"

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

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

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

[lints.rust]
unsafe_code = "forbid"
