move clap into utils

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-04-23 10:48:01 -07:00 committed by June
parent 0734b52a8a
commit 3140f101c1
3 changed files with 5 additions and 2 deletions

View file

@ -45,10 +45,12 @@ use tower_http::{
}; };
use tracing::{debug, error, info, warn, Span}; use tracing::{debug, error, info, warn, Span};
use tracing_subscriber::{prelude::*, reload, EnvFilter, Registry}; use tracing_subscriber::{prelude::*, reload, EnvFilter, Registry};
use utils::error::{Error, Result}; use utils::{
clap,
error::{Error, Result},
};
mod api; mod api;
mod clap;
mod config; mod config;
mod database; mod database;
mod routes; mod routes;

View file

@ -1,3 +1,4 @@
pub(crate) mod clap;
pub(crate) mod debug; pub(crate) mod debug;
pub(crate) mod error; pub(crate) mod error;