Skip to content

Commit

Permalink
chore: remove unused deps moved to specs crate (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
SHAcollision authored Feb 19, 2025
1 parent acc9596 commit d533a79
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 0 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,7 @@ env_logger = "0.11.6"
const_format = "0.2.34"
thiserror = "2.0.11"
chrono = { version = "0.4.39", default-features = false, features = ["clock"] }
base32 = "0.5.1"
blake3 = "1.6.0"
url = "2.5.4"
async-trait = "0.1.85"
reqwest = "0.12.9"

[dev-dependencies]
anyhow = "1.0.95"
Expand All @@ -47,6 +43,8 @@ pubky-homeserver = { git = "https://github.com/pubky/pubky", branch = "main" }
rand = "0.8.5"
rand_distr = "0.4.3"
tokio-shared-rt = "0.1"
url = "2.5.4"
reqwest = "0.12.12"

[lib]
name = "pubky_nexus"
Expand Down
3 changes: 1 addition & 2 deletions src/routes/static.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ use crate::{
};
use axum::{
extract::Request,
http::HeaderValue,
http::{HeaderValue, StatusCode},
middleware::{self, Next},
response::Response,
routing::get_service,
Router,
};
use reqwest::StatusCode;
use tower_http::services::ServeDir;

async fn static_files_middleware(request: Request, next: Next) -> Result<Response, StatusCode> {
Expand Down

0 comments on commit d533a79

Please sign in to comment.