From 181439ca4f09c6d0135ce8d4ea1143b03d3afe56 Mon Sep 17 00:00:00 2001 From: Tpt Date: Fri, 25 Feb 2022 08:40:04 +0100 Subject: [PATCH] Upgrades dependencies and makes clippy 1.59 happy --- Cargo.lock | 24 ++++++++++++------------ python/src/sparql.rs | 1 + 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0f7b9ecf..26217652 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -39,9 +39,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.54" +version = "1.0.55" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a99269dff3bc004caa411f38845c20303f1e393ca2bd6581576fa3a7f59577d" +checksum = "159bb86af3a200e19a068f4224eae4c8bb2d0fa054c7e5d1cacd5cef95e684cd" [[package]] name = "atty" @@ -183,9 +183,9 @@ dependencies = [ [[package]] name = "clap" -version = "3.1.0" +version = "3.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5f1fea81f183005ced9e59cdb01737ef2423956dac5a6d731b06b2ecfaa3467" +checksum = "5177fac1ab67102d8989464efd043c6ff44191b1557ec1ddd489b4f7e1447e77" dependencies = [ "atty", "bitflags", @@ -200,9 +200,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "3.1.0" +version = "3.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fd1122e63869df2cb309f449da1ad54a7c6dfeb7c7e6ccd8e0825d9eb93bb72" +checksum = "01d42c94ce7c2252681b5fed4d3627cc807b13dfc033246bd05d5b252399000e" dependencies = [ "heck", "proc-macro-error", @@ -439,9 +439,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "418d37c8b1d42553c93648be529cb70f920d3baf8ef469b74b9638df426e0b4c" +checksum = "d39cd93900197114fa1fcb7ae84ca742095eed9442088988ae74fa744e930e77" dependencies = [ "cfg-if", "js-sys", @@ -841,7 +841,7 @@ dependencies = [ name = "oxigraph_server" version = "0.3.0-beta.4" dependencies = [ - "clap 3.1.0", + "clap 3.1.2", "flate2", "oxhttp", "oxigraph", @@ -856,7 +856,7 @@ name = "oxigraph_testsuite" version = "0.3.0-beta.4" dependencies = [ "anyhow", - "clap 3.1.0", + "clap 3.1.2", "criterion", "oxigraph", "text-diff", @@ -1375,9 +1375,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.5" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0486718e92ec9a68fbed73bb5ef687d71103b142595b406835649bebd33f72c7" +checksum = "a4a3381e03edd24287172047536f20cabde766e2cd3e65e6b00fb3af51c4f38d" [[package]] name = "serde" diff --git a/python/src/sparql.rs b/python/src/sparql.rs index 06344773..f4ddb924 100644 --- a/python/src/sparql.rs +++ b/python/src/sparql.rs @@ -128,6 +128,7 @@ impl PyQuerySolution { } } + #[allow(clippy::unnecessary_to_owned)] fn __iter__(&self) -> SolutionValueIter { SolutionValueIter { inner: self.inner.values().to_vec().into_iter(),