# 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 = "nexar"
version = "0.1.0-beta.5"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Distributed runtime with QUIC transport, stream-multiplexed messaging, and built-in collectives"
readme = "README.md"
keywords = [
    "distributed",
    "quic",
    "mpi",
    "allreduce",
    "hpc",
]
categories = [
    "network-programming",
    "asynchronous",
    "science",
]
license = "Apache-2.0"
repository = "https://github.com/ml-rust/nexar"

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

[[example]]
name = "allreduce"
path = "examples/allreduce.rs"

[[example]]
name = "barrier"
path = "examples/barrier.rs"

[[example]]
name = "broadcast"
path = "examples/broadcast.rs"

[[example]]
name = "rpc"
path = "examples/rpc.rs"

[[example]]
name = "seed_worker"
path = "examples/seed_worker.rs"

[[example]]
name = "send_recv"
path = "examples/send_recv.rs"

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

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

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

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

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

[dependencies.bytes]
version = "1"

[dependencies.crossbeam-queue]
version = "0.3"

[dependencies.futures]
version = "0.3"

[dependencies.quinn]
version = "0.11"

[dependencies.rcgen]
version = "0.14"

[dependencies.rkyv]
version = "0.8"
features = ["alloc"]

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
]
default-features = false

[dependencies.thiserror]
version = "2.0"

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

[dependencies.tokio-rustls]
version = "0.26"
features = ["ring"]
default-features = false

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
]

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