From 2ca3aaaf74f2fce59212ff4def38968fee78c093 Mon Sep 17 00:00:00 2001 From: kennytm Date: Mon, 3 Jun 2024 02:31:30 +0800 Subject: [PATCH] Add support for syn v2 in proc-macro (#108) Co-authored-by: Julien Cretin --- lib/macro/internal/Cargo.toml | 2 +- xtask/src/main.rs | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/macro/internal/Cargo.toml b/lib/macro/internal/Cargo.toml index ba560b4..5f6093f 100644 --- a/lib/macro/internal/Cargo.toml +++ b/lib/macro/internal/Cargo.toml @@ -20,6 +20,6 @@ default-features = false features = ["alloc"] [dependencies.syn] -version = "1" +version = ">= 1, < 3" default-features = false features = ["parsing", "proc-macro"] diff --git a/xtask/src/main.rs b/xtask/src/main.rs index e446bc6..ceaf53d 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -1,5 +1,3 @@ -#![feature(iter_intersperse)] - use std::borrow::Cow; use std::collections::{BTreeMap, BTreeSet, HashSet}; use std::ffi::OsStr;