From 996a81fb17e5dc9498b85cd90ae8ccbfa13c201c Mon Sep 17 00:00:00 2001 From: core Date: Wed, 29 Nov 2023 13:34:27 -0500 Subject: [PATCH] API formatting --- starkingdoms-api/src/main.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/starkingdoms-api/src/main.rs b/starkingdoms-api/src/main.rs index c67faf6878c949e43d5dbf9df63d489a8971558d..b819feec147f0484667caa2d997e0c62e0aab7da 100644 --- a/starkingdoms-api/src/main.rs +++ b/starkingdoms-api/src/main.rs @@ -8,7 +8,7 @@ use hmac::digest::KeyInit; use hmac::Hmac; use log::{error, info}; use mongodb::options::{ClientOptions, ResolverConfig}; -use mongodb::{Client}; +use mongodb::Client; use sha2::Sha256; use std::fs; use std::path::PathBuf; @@ -45,7 +45,10 @@ async fn main() -> Result<(), Box> { let config_pathbuf = PathBuf::from(config_path); - info!("StarKingdoms API v{} starting up", env!("CARGO_PKG_VERSION")); + info!( + "StarKingdoms API v{} starting up", + env!("CARGO_PKG_VERSION") + ); info!("Loading config from {}", config_pathbuf.display()); let config_str = match fs::read_to_string(&config_pathbuf) {