@@ 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<dyn std::error::Error>> {
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) {