From c7218e19ac409cbddb5b196cc7dd62fd5765d571 Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Thu, 15 Aug 2024 14:39:16 -0400 Subject: [PATCH] cargo: add 'similar' dev dependency We were already using this via 'insta'. We bring it in so that we can explicitly snapshot diffs. --- Cargo.lock | 1 + crates/uv/Cargo.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 6d11d3e3c..08b7c3dbd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4501,6 +4501,7 @@ dependencies = [ "rustc-hash 2.0.0", "serde", "serde_json", + "similar", "textwrap", "thiserror", "tikv-jemallocator", diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index 13e2b1f1b..35733b990 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -93,6 +93,7 @@ insta = { version = "1.36.1", features = ["filters", "json"] } predicates = { version = "3.0.4" } regex = { workspace = true } reqwest = { workspace = true, features = ["blocking"], default-features = false } +similar = { version = "2.6.0" } zip = { workspace = true } [package.metadata.cargo-shear]