golem-binary
What It Is
golem-binary is the Layer 7 binary entrypoint package for the workspace. Today it exposes a minimal Tokio startup surface that initializes tracing, emits a startup log line, and exits successfully.
Module Overview
The crate is the workspace’s shipped executable package. Its manifest declares the
bardo-golem binary target at src/main.rs, and the current implementation is still a shell
that only sets up process logging.
Features
- Binary crate with the
bardo-golemexecutable target - Async
mainfunction using Tokio - Initializes
tracing_subscriberon startup - Inherits shared workspace package metadata and lint policy
Getting Started
cargo run -p golem-binary
cargo run -p golem-binary --bin bardo-golem
Configuration
The current binary surface has no CLI arguments or crate-local configuration. It inherits shared build settings from the workspace root.
API
The binary exposes one entrypoint:
#[tokio::main]
async fn main() -> anyhow::Result<()>
It initializes tracing with tracing_subscriber::fmt::init() and emits a startup banner.
Architecture
golem-binary sits at the top of the workspace DAG above every library crate. The scaffold
keeps the shipped executable target and package name stable before the full runtime startup
sequence is introduced.
References
prd2/17-monorepo/00-packages.mdsectionCrate Inventoryprd2/17-monorepo/01-rust-workspace.mdsectionsWorkspace Structure,Crate Dependency DAG, andRelease Profileprd2/17-monorepo/03-conventions.mdsectionRust Conventions