From 4791d16a8efc42fb40ffab79bcdae4f0e106cd89 Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Thu, 7 Mar 2024 10:00:43 -0700 Subject: perf(cli): use faster_hex (#22761) `cli::util::checksum` was showing up on flame graphs because it was concatenating allocated strings. We can use `faster-hex` to improve it. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index e3eaf97a1..b11710d0a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -103,6 +103,7 @@ dlopen2 = "0.6.1" ecb = "=0.1.2" elliptic-curve = { version = "0.13.4", features = ["alloc", "arithmetic", "ecdh", "std", "pem"] } encoding_rs = "=0.8.33" +faster-hex = "0.9" fastwebsockets = { version = "0.6", features = ["upgrade", "unstable-split"] } filetime = "0.2.16" flate2 = { version = "1.0.26", default-features = false } @@ -110,7 +111,6 @@ fs3 = "0.5.0" futures = "0.3.21" glob = "0.3.1" h2 = "0.4" -hex = "0.4" http = "1.0" http-body-util = "0.1" http_v02 = { package = "http", version = "0.2.9" } -- cgit v1.2.3