Skip to content

Commit acfeaad

Browse files
feat: enable http2
1 parent aa7f93f commit acfeaad

File tree

2 files changed

+6
-56
lines changed

2 files changed

+6
-56
lines changed

api/Cargo.lock

+4-53
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/Cargo.toml

+2-3
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,10 @@ rust-version = "1.71"
1616

1717
[dependencies]
1818
anyhow = "1"
19-
axum = "0.7.2"
19+
axum = { version = "0.7.2", features = ["http2"] }
2020
crates_io_api = "0.9"
21-
env_logger = "0.10"
2221
http-body-util = "0.1.0"
23-
serde_json = "1.0.107"
22+
serde_json = "1"
2423
tokio = { version = "1.35.0", features = ["full"] }
2524
tower = "0.4.13"
2625
tower-http = { version = "0.5.0", features = ["cors", "trace"] }

0 commit comments

Comments
 (0)