This project is a collection of Rust libraries and binaries. The main components of the project are:
- bb-bin-monkey
- bb-lib-nats-streams
- cfg_creator
- bb-lib-surreal-client
- bb-lib-config
- bb-lib-reactor
- bb-lib-event
provides http endpoints healthz and readyz
use bb_lib_http_listener::Server;
#[tokio::main]
async fn main() -> Result<(), Error> {
let listener = Server::new("127.0.0.1:6060");
let _: ! = listener.listen().await()?;
Ok(())
}Tools for sending and receiving requests across a nats messaging service
Cargo
Tower service creator
Cargo
Surreal Database Client and Storage tools
Cargo
Tracing instrumentation Cargo
Initialize the tracing subscribers using the following function in a tokio runtime
// A tokio reactor must be enabled to initialize the tracing library
#[tokio::main]
async fn main() {
let _otel_guard = bb_lib_tracing::initialize()?;
// ... etc ...
}bump