From ddfbe47850461cefff42b5cd1c45cc55c0c6ce6c Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 8 Dec 2024 13:58:25 -0800 Subject: [PATCH] Drop "dissimilar" feature, keeping only "diff" Previously, a dependency `trybuild = { features = ["dissimilar"] }` would compile (and silently have no effect). The correct usage is `trybuild = { features = ["diff"] }` and is independent of the name of the underlying library being used for the diff computations. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index dbd2b0e..85c7e88 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ rust-version = "1.70" # Experimental: highlight the diff between the expected and actual compiler # output. Currently unix-only. If you test this out, please provide any feedback # in https://github.com/dtolnay/trybuild/issues/41. -diff = ["dissimilar"] +diff = ["dep:dissimilar"] [dependencies] dissimilar = { version = "1.0", optional = true }