# 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 = "2021"
rust-version = "1.86"
name = "bb-ops"
version = "0.3.3"
authors = ["Bytes & Brains"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Canonical concrete components for the bytesandbrains framework — syscalls, wire transport, backends, protocols, role implementations."
homepage = "https://bytesandbrains.ai"
readme = false
keywords = [
    "machine-learning",
    "federated",
    "decentralized",
    "p2p",
    "onnx",
]
categories = [
    "science",
    "network-programming",
    "concurrency",
]
license = "AGPL-3.0-or-later"
repository = "https://github.com/Bytes-Brains/bytesandbrains"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
cpu-backend = ["dep:ndarray"]
default = ["cpu-backend"]
test-components = []

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

[dependencies.bb-derive]
version = "0.3.3"

[dependencies.bb-dsl]
version = "0.3.3"

[dependencies.bb-ir]
version = "0.3.3"

[dependencies.bb-runtime]
version = "0.3.3"
default-features = false

[dependencies.bincode]
version = "1"

[dependencies.inventory]
version = "0.3"

[dependencies.ndarray]
version = "0.16"
features = ["serde"]
optional = true

[dependencies.prost]
version = "0.13"

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

[dependencies.tracing]
version = "0.1"
