Skip to content

Commit

Permalink
Unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
erikreppel committed Apr 19, 2024
1 parent 87d0fa6 commit dba3223
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,13 @@ use axum::http::StatusCode;
use axum::middleware::from_fn_with_state;
use axum::routing::{get, post};
use axum::{Json, Router};
use eyre::OptionExt;
use serde::Serialize;
use sqlx::SqlitePool;
use std::sync::Arc;
use std::time::Duration;
use tokio::net::TcpListener;
use tower::{BoxError, ServiceBuilder};
use tower_governor::governor::{GovernorConfig, GovernorConfigBuilder};
use tower_governor::key_extractor::PeerIpKeyExtractor;
use tower_governor::governor::GovernorConfigBuilder;
use tower_governor::GovernorLayer;
use tracing_subscriber::fmt::layer;

#[derive(Clone)]
pub struct AppState {
Expand Down

0 comments on commit dba3223

Please sign in to comment.