refactor: reformat and remove tabs

This commit is contained in:
Greg Heartsfield
2023-01-22 10:06:44 -06:00
parent 6800c2e39d
commit 6489e685ab
10 changed files with 547 additions and 551 deletions
+2 -5
View File
@@ -7,11 +7,8 @@ use std::sync::mpsc as syncmpsc;
use std::sync::mpsc::{Receiver as MpscReceiver, Sender as MpscSender};
use std::thread;
use tracing::info;
use console_subscriber::ConsoleLayer;
/// Start running a Nostr relay server.
fn main() {
// configure settings from config.toml
@@ -23,8 +20,8 @@ fn main() {
// enable tracing with tokio-console
ConsoleLayer::builder().with_default_env().init();
} else {
// standard logging
tracing_subscriber::fmt::try_init().unwrap();
// standard logging
tracing_subscriber::fmt::try_init().unwrap();
}
info!("Starting up from main");