From 04075691ac53f6275a55a630fac0b455da996a2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20B=C3=B8ving?= Date: Fri, 27 Oct 2023 20:59:55 +0200 Subject: [PATCH] Loosen dependency requirement on proc-macro-crate and cargo_toml (#134) This allows for reducing the number of these crates in binaries' transitive deps. We aren't just bumping these deps because that would require increasing MSRV. --- metadata_checks/Cargo.toml | 2 +- num_enum_derive/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/metadata_checks/Cargo.toml b/metadata_checks/Cargo.toml index 399cd3c..1c05d50 100644 --- a/metadata_checks/Cargo.toml +++ b/metadata_checks/Cargo.toml @@ -5,6 +5,6 @@ edition = "2021" publish = false [dev-dependencies] -cargo_toml = "0.13.3" +cargo_toml = ">= 0.13.3, <= 0.16" serde = "1" serde_yaml = "0.9" diff --git a/num_enum_derive/Cargo.toml b/num_enum_derive/Cargo.toml index 6e28210..357cd63 100644 --- a/num_enum_derive/Cargo.toml +++ b/num_enum_derive/Cargo.toml @@ -33,7 +33,7 @@ features = ["external_doc"] [dependencies] proc-macro2 = "1.0.60" -proc-macro-crate = { version = "1", optional = true } +proc-macro-crate = { version = ">= 1, <= 2", optional = true } quote = "1" syn = { version = "2", features = ["parsing"] }