style: apply Rust 1.85 formatting for admin-api
This commit is contained in:
@@ -16,7 +16,9 @@ use crate::{app::build_app, service::AdminService, state::AppState};
|
|||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
tracing_subscriber::fmt()
|
tracing_subscriber::fmt()
|
||||||
.with_env_filter(env::var("CRANK_LOG_LEVEL").unwrap_or_else(|_| "admin_api=info,tower_http=info".into()))
|
.with_env_filter(
|
||||||
|
env::var("CRANK_LOG_LEVEL").unwrap_or_else(|_| "admin_api=info,tower_http=info".into()),
|
||||||
|
)
|
||||||
.init();
|
.init();
|
||||||
|
|
||||||
let database_url = env::var("CRANK_DATABASE_URL")?;
|
let database_url = env::var("CRANK_DATABASE_URL")?;
|
||||||
|
|||||||
Reference in New Issue
Block a user