chore: cargo fmt

This commit is contained in:
Nathan Flurry 2026-02-01 22:39:52 -08:00
parent a3e55a8976
commit 85ee3b30cd
33 changed files with 843 additions and 676 deletions

View file

@ -13,8 +13,7 @@ fn main() {
let out_path = Path::new(&out_dir).join("openapi.json");
let openapi = ApiDoc::openapi();
let json = serde_json::to_string_pretty(&openapi)
.expect("Failed to serialize OpenAPI spec");
let json = serde_json::to_string_pretty(&openapi).expect("Failed to serialize OpenAPI spec");
fs::write(&out_path, json).expect("Failed to write OpenAPI spec");
emit_stdout(&format!(

View file

@ -47,7 +47,11 @@ fn init_logging() {
let filter = EnvFilter::try_from_default_env().unwrap_or_else(|_| EnvFilter::new("info"));
tracing_subscriber::registry()
.with(filter)
.with(tracing_logfmt::builder().layer().with_writer(std::io::stderr))
.with(
tracing_logfmt::builder()
.layer()
.with_writer(std::io::stderr),
)
.init();
}