From abc5fc35de5c1694de9a17fb299c620a77960698 Mon Sep 17 00:00:00 2001 From: tottoto Date: Tue, 3 Oct 2023 21:23:06 +0900 Subject: [PATCH] chore(dependencies) move itoa to http1 feature --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 61a285ef2f..68835c82e6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,13 +28,13 @@ http-body = "=1.0.0-rc.2" http-body-util = { version = "=0.1.0-rc.3", optional = true } httparse = "1.8" h2 = { version = "0.3.9", optional = true } -itoa = "1" pin-project-lite = "0.2.4" tokio = { version = "1", features = ["sync"] } # Optional httpdate = { version = "1.0", optional = true } +itoa = { version = "1", optional = true } libc = { version = "0.2", optional = true } tracing = { version = "0.1", default-features = false, features = ["std"], optional = true } want = { version = "0.3", optional = true } @@ -74,7 +74,7 @@ full = [ ] # HTTP versions -http1 = [] +http1 = ["dep:itoa"] http2 = ["dep:h2"] # Client/Server