init4-bin-base 0.1.0

Internal utilities for binaries produced by the init4 team
Documentation

init4 bin base

This crate bundles common functionality for binaries produced by the init4 project. It provides:

  • environment parsing utilities
  • a standard tracing setup with otlp support
  • a standard server for prometheus metrics
  • standard environment variables to configure these features

This crate is intended to be used as a base for all binaries produced by the init4 project. It is not intended for outside consumption.

use init4_bin_base::init4;

fn main() {
    init4();
    // your code here
}

Build the crate docs with cargo doc --open to learn more.