diff options
| author | Matt Mastracci <matthew@mastracci.com> | 2024-03-07 10:00:43 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-07 10:00:43 -0700 |
| commit | 4791d16a8efc42fb40ffab79bcdae4f0e106cd89 (patch) | |
| tree | 3d91c75b0d822ba68797da8a33091597f99f7af6 /cli/Cargo.toml | |
| parent | 594d8397ad46a90389bec9a76afde1bc7f1fa35b (diff) | |
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.
Diffstat (limited to 'cli/Cargo.toml')
| -rw-r--r-- | cli/Cargo.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 5656c77f8..d11ef8849 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -101,11 +101,11 @@ dprint-plugin-markdown = "=0.16.4" dprint-plugin-typescript = "=0.89.3" env_logger = "=0.10.0" fancy-regex = "=0.10.0" +faster-hex.workspace = true # If you disable the default __vendored_zlib_ng feature above, you _must_ be able to link against `-lz`. flate2.workspace = true fs3.workspace = true glob = "0.3.1" -hex.workspace = true ignore = "0.4" import_map = { version = "=0.19.0", features = ["ext"] } indexmap.workspace = true |
