From f86c4b5186ad77c2928823d4f7aac45be2d0954b Mon Sep 17 00:00:00 2001 From: tottoto Date: Fri, 13 Oct 2023 00:53:37 +0900 Subject: [PATCH] refactor(dependencies): move optional dependencies to optional section (#3343) --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d2d51127b7..9d06a053cc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,13 +25,13 @@ futures-channel = "0.3" futures-util = { version = "0.3", default-features = false } http = "0.2" http-body = "=1.0.0-rc.2" -http-body-util = { version = "=0.1.0-rc.3", optional = true } -h2 = { version = "0.3.9", optional = true } pin-project-lite = "0.2.4" tokio = { version = "1", features = ["sync"] } # Optional +h2 = { version = "0.3.9", optional = true } +http-body-util = { version = "=0.1.0-rc.3", optional = true } httparse = { version = "1.8", optional = true } httpdate = { version = "1.0", optional = true } itoa = { version = "1", optional = true }