mosaik 0.3.13

A Rust runtime for building self-organizing, leaderless distributed systems.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use {clap::Parser, tracing_subscriber::EnvFilter};

mod cli;

#[tokio::main]
async fn main() -> anyhow::Result<()> {
	tracing_subscriber::fmt()
		.with_env_filter(EnvFilter::from_default_env())
		.with_writer(std::io::stderr)
		.init();

	let opts = cli::CliOpts::parse();
	tracing::debug!("CLI options: {opts:#?}");

	opts.run().await
}