From 4ac4756a7854eaac22b4a64251beaa966f426053 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 23 Feb 2024 15:50:48 +0000 Subject: [PATCH] Fix/relax itertools dependency in macros Signed-off-by: Ian Jackson --- Cargo.lock | 13 ++----------- debian/control | 1 - macros/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 13 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 70813d0..fd1b853 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -552,7 +552,7 @@ dependencies = [ "hyper-tls", "indenter", "ipnet", - "itertools 0.12.1", + "itertools", "lazy-regex", "lazy_static", "libc", @@ -575,7 +575,7 @@ dependencies = [ name = "hippotat-macros" version = "1.1.9" dependencies = [ - "itertools 0.10.5", + "itertools", "proc-macro2", "quote", "syn 1.0.109", @@ -691,15 +691,6 @@ version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" -[[package]] -name = "itertools" -version = "0.10.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" -dependencies = [ - "either", -] - [[package]] name = "itertools" version = "0.12.1" diff --git a/debian/control b/debian/control index 5eedcef..949222f 100644 --- a/debian/control +++ b/debian/control @@ -24,7 +24,6 @@ Build-Depends: debhelper (>= 12), cargo, rustc, python3-sphinx, librust-indenter-dev (>= 0.3~) , librust-ipnet-dev (>= 2.3~) , librust-itertools-dev (>= 0.10.1~) , - librust-itertools-dev (>= 0.10~) , librust-lazy-regex-dev (>= 2.4~) , librust-lazy-static-dev (>= 1.4~) , librust-libc-dev (>= 0.2~) , diff --git a/macros/Cargo.toml b/macros/Cargo.toml index 6f98685..ccbd0ac 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -13,7 +13,7 @@ repository="https://salsa.debian.org/iwj/hippotat" homepage="https://www.chiark.greenend.org.uk/~ianmdlvl/hippotat/current/docs/" [dependencies] -itertools = "0.10" +itertools = ">=0.10.1, <0.13" syn = { version = "1", features=["extra-traits"] } proc-macro2 = "1" quote = "1" -- 2.30.2