From 553d9180e01ddc43555c272c510f66f42b0424c4 Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Tue, 5 Apr 2022 10:01:06 +0200 Subject: [PATCH] Slightly lowered amount of dependencies --- Cargo.lock | 21 --------------------- Cargo.toml | 4 ++-- 2 files changed, 2 insertions(+), 23 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b6af5d7..61335b6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -265,25 +265,6 @@ dependencies = [ "wasi 0.10.2+wasi-snapshot-preview1", ] -[[package]] -name = "h2" -version = "0.3.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37a82c6d637fc9515a4694bbf1cb2457b79d81ce52b3108bdeea58b07dd34a57" -dependencies = [ - "bytes", - "fnv", - "futures-core", - "futures-sink", - "futures-util", - "http", - "indexmap", - "slab", - "tokio", - "tokio-util", - "tracing", -] - [[package]] name = "hashbrown" version = "0.11.2" @@ -352,7 +333,6 @@ dependencies = [ "futures-channel", "futures-core", "futures-util", - "h2", "http", "http-body", "httparse", @@ -995,7 +975,6 @@ dependencies = [ "futures-sink", "pin-project-lite", "tokio", - "tracing", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 241fd20..3e46c94 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,8 +11,8 @@ name = "site" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -axum = { version = "0.5.1", features = ["http2"] } -hyper = { version = "0.14.18", features = ["full"] } +axum = { version = "0.5.1" } +hyper = { version = "0.14.18" } tokio = { version = "1.17.0", features = ["full"] } tracing = "0.1.32" tracing-subscriber = {version = "0.3.10", features = ["env-filter"] }