[package]
name = "bb-runtime"
description = "Sans-IO engine for the bytesandbrains framework — Node, Engine, Framework, Backends, roles, snapshot, runtime-side syscalls."
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
authors.workspace = true
keywords.workspace = true
categories.workspace = true
[lib]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = []
tracing-otel = [
"dep:tracing-subscriber",
"dep:tracing-opentelemetry",
"dep:opentelemetry",
"dep:opentelemetry_sdk",
"dep:opentelemetry-otlp",
]
test-components = []
[dependencies]
bb-ir = { path = "../bb-ir", version = "0.3.3" }
bb-derive = { path = "../bb-derive", version = "0.3.3" }
prost = { workspace = true }
tracing = { workspace = true }
serde = { workspace = true }
bincode = { workspace = true }
concurrent-queue = "2"
atomic-waker = "1"
getrandom = "0.2"
inventory = "0.3"
bs58 = { version = "0.5", default-features = false, features = ["alloc"] }
unsigned-varint = "0.8"
tracing-subscriber = { version = "0.3", optional = true, features = ["registry"] }
tracing-opentelemetry = { version = "0.31", optional = true }
opentelemetry = { version = "0.30", optional = true }
opentelemetry_sdk = { version = "0.30", optional = true }
opentelemetry-otlp = { version = "0.30", optional = true, features = ["grpc-tonic"] }
[dev-dependencies]
multihash = { version = "0.19", default-features = false, features = ["alloc", "serde"] }