From a93635ea44c1dda5bf462f471c91b51df53ba6d1 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Fri, 4 Aug 2023 12:43:13 +0900 Subject: [PATCH] Fix build error with -Z minimal-versions ``` error[E0635]: unknown feature `proc_macro_span_shrink` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.52/src/lib.rs:92:30 | 92 | feature(proc_macro_span, proc_macro_span_shrink) | ^^^^^^^^^^^^^^^^^^^^^^ ``` --- async-stream-impl/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/async-stream-impl/Cargo.toml b/async-stream-impl/Cargo.toml index 172d46f..7e37c95 100644 --- a/async-stream-impl/Cargo.toml +++ b/async-stream-impl/Cargo.toml @@ -12,7 +12,7 @@ repository = "https://github.com/tokio-rs/async-stream" proc-macro = true [dependencies] -proc-macro2 = "1" +proc-macro2 = "1.0.60" syn = { version = "2.0.2", features = ["full", "visit-mut"] } quote = "1"