boson-core 0.1.1

Portable Boson types, QueueBackend port, and identity hooks
Documentation

boson-core

Shared types, QueueBackend trait, router, errors, and identity hooks.

Task authors usually start at boson. This crate holds shared DTOs and the persistence trait for custom backends.

Role

  • Job, Run, TaskConfig, status enums — shared data
  • ExecutionContext / ExecutionContextFactory — handler identity (factory installed at boot)
  • QueueBackend — stable async trait for queue persistence
  • QueueRouter — register named backends at host boot (see boson Getting started)

Third-party crates implement QueueBackend only against DTOs exported here. See QueueBackend rustdoc (How to implement, method groups, skeleton).

Identity

Task handlers take Box<dyn ExecutionContext> as the first argument. Factory choice and boot wiring live in boson-runtime and src/identity.rs.

Related crates