From 3a205dd243cf49054bbf9f144b29d22fb02ea98c Mon Sep 17 00:00:00 2001 From: Samir Talwar Date: Tue, 14 May 2024 16:48:35 +0200 Subject: [PATCH] HTTP/2 support. (#10) Enable HTTP/2 support for Axum, so that we can make use of request multiplexing from the engine. --- crates/sdk/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/sdk/Cargo.toml b/crates/sdk/Cargo.toml index 1c2f8a2..0ec8b25 100644 --- a/crates/sdk/Cargo.toml +++ b/crates/sdk/Cargo.toml @@ -28,7 +28,7 @@ ndc-models = { git = "http://github.com/hasura/ndc-spec.git", tag = "v0.1.2" } ndc-test = { git = "http://github.com/hasura/ndc-spec.git", tag = "v0.1.2", optional = true } async-trait = "0.1.79" -axum = "0.6.20" +axum = { version = "0.6.20", features = ["http2"] } axum-extra = "0.8.0" bytes = "1.6.0" clap = { version = "4.5.4", features = ["derive", "env"] }