From 3b6373d0f484b4ed2d5b35ccda55b70e51a810da Mon Sep 17 00:00:00 2001 From: Christopher Serr Date: Thu, 30 Mar 2023 20:11:45 +0200 Subject: [PATCH] Temporarily allow `syn` v1.0 in `cargo deny` This temporarily allows `syn` v1.0 to be in the dependency tree as the whole ecosystem is currently transitioning to `syn` v2.0. This process however may take a while. The entry in the `deny.toml` should be removed once all dependencies transitioned. --- deny.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deny.toml b/deny.toml index 5643982..60ede87 100644 --- a/deny.toml +++ b/deny.toml @@ -243,6 +243,9 @@ deny = [ # Certain crates/versions that will be skipped when doing duplicate detection. skip = [ + # TODO: We allow syn 1.0 during the transition to syn 2.0. Remove this when + # syn is not in the dependency tree anymore. + { name = "syn", version = "1" } #{ name = "ansi_term", version = "=0.11.0" }, ] # Similarly to `skip` allows you to skip certain crates during duplicate