diff --git a/Cargo.lock b/Cargo.lock index 1c75241..683f47a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -144,7 +144,6 @@ dependencies = [ "percent-encoding", "pin-project-lite", "serde_core", - "serde_json", "serde_path_to_error", "serde_urlencoded", "sync_wrapper", @@ -458,7 +457,6 @@ dependencies = [ "serde", "sqlx", "tempfile", - "time", "tokio", "tracing", "tracing-subscriber", @@ -714,6 +712,25 @@ version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7" +[[package]] +name = "h2" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3c0b69cfcb4e1b9f1bf2f53f95f766e4661169728ec61cd3fe5a0166f2d1386" +dependencies = [ + "atomic-waker", + "bytes", + "fnv", + "futures-core", + "futures-sink", + "http", + "indexmap", + "slab", + "tokio", + "tokio-util", + "tracing", +] + [[package]] name = "hashbrown" version = "0.15.5" @@ -835,6 +852,7 @@ dependencies = [ "bytes", "futures-channel", "futures-core", + "h2", "http", "http-body", "httparse", @@ -1729,6 +1747,7 @@ dependencies = [ "base64", "bytes", "futures-core", + "h2", "http", "http-body", "http-body-util", diff --git a/Cargo.toml b/Cargo.toml index 431f16d..fa7bd18 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,26 +5,29 @@ edition = "2021" [dependencies] askama = "0.14.0" -axum = { version = "0.8.6", features = ["macros"] } +axum = { version = "0.8.6", default-features = false, features = [ + "http1", + "matched-path", + "query", + "tokio", + "tower-log", + "tracing", + "macros", +] } color-eyre = "0.6.3" futures = "0.3.30" jiff = "0.2.16" -jsonwebtoken = { version = "9.3.1", features = [] } +jsonwebtoken = { version = "9.3.1" } octocrab = "0.47.1" reqwest = { version = "0.12.7", features = [ "rustls-tls", + "http2", ], default-features = false } serde = { version = "1.0.210", features = ["derive"] } -sqlx = { version = "0.8.2", features = [ - "macros", - "migrate", - "runtime-tokio", - "sqlite", -] } +sqlx = { version = "0.8.2", features = ["runtime-tokio", "sqlite"] } tempfile = "3.12.0" -time = { version = "0.3.36", features = ["formatting", "macros", "parsing"] } tokio = { version = "1.40.0", features = ["full"] } -tracing = "0.1.40" +tracing = { version = "0.1.40", features = ["attributes"] } tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } [build-dependencies] diff --git a/src/web.rs b/src/web.rs index 90a6408..6d93547 100644 --- a/src/web.rs +++ b/src/web.rs @@ -101,14 +101,10 @@ async fn web_build(State(state): State, Query(query): Query