From fa6bd039f8aef5f1b0f55d2f237a322729c98e20 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 20 Oct 2023 03:29:45 +0000 Subject: [PATCH] Update Rust crate cloudflare to 0.11.0 --- Cargo.lock | 44 ++++++++++---------------------------------- Cargo.toml | 2 +- 2 files changed, 11 insertions(+), 35 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8466d0e..16606f4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -216,17 +216,6 @@ version = "4.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a40729d2133846d9ed0ea60a8b9541bccddab49cd30f0715a1da672fe9a2524" -[[package]] -name = "async-trait" -version = "0.1.69" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b2d0f03b3640e3a630367e40c468cb7f309529c708ed1d88597047b0e7c6ef7" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.33", -] - [[package]] name = "atomic-waker" version = "1.1.0" @@ -437,21 +426,19 @@ dependencies = [ [[package]] name = "cloudflare" -version = "0.10.1" -source = "git+https://github.com/spacebird-dev/cloudflare-rs?rev=ee0a23796b2b1f31310e4a9164ac62515f8a1823#ee0a23796b2b1f31310e4a9164ac62515f8a1823" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b19c12f95c05549854043364bce0e65cb12bd545a62128af2810a01bf1843161" dependencies = [ - "anyhow", - "async-trait", - "base64 0.13.1", - "cfg-if 1.0.0", "chrono", "http", "percent-encoding", "reqwest", "serde", "serde_json", - "serde_qs", + "serde_urlencoded", "serde_with", + "thiserror", "url", "uuid", ] @@ -863,12 +850,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c1d6de3acfef38d2be4b1f543f553131788603495be83da675e180c8d6b7bd1" dependencies = [ "futures-core", - "futures-io", "futures-task", - "memchr", "pin-project-lite", "pin-utils", - "slab", ] [[package]] @@ -1653,17 +1637,6 @@ dependencies = [ "serde", ] -[[package]] -name = "serde_qs" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cac3f1e2ca2fe333923a1ae72caca910b98ed0630bb35ef6f8c8517d6e81afa" -dependencies = [ - "percent-encoding", - "serde", - "thiserror", -] - [[package]] name = "serde_urlencoded" version = "0.7.1" @@ -1897,7 +1870,6 @@ dependencies = [ "bytes", "libc", "mio", - "num_cpus", "pin-project-lite", "socket2 0.5.4", "tokio-macros", @@ -2034,7 +2006,6 @@ version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "422ee0de9031b5b948b97a8fc04e3aa35230001a722ddd27943e0be31564ce4c" dependencies = [ - "getrandom", "serde", ] @@ -2344,3 +2315,8 @@ checksum = "80d0f4e272c85def139476380b12f9ac60926689dd2e01d4923222f40580869d" dependencies = [ "winapi 0.3.9", ] + +[[patch.unused]] +name = "cloudflare" +version = "0.10.1" +source = "git+https://github.com/spacebird-dev/cloudflare-rs?rev=ee0a23796b2b1f31310e4a9164ac62515f8a1823#ee0a23796b2b1f31310e4a9164ac62515f8a1823" diff --git a/Cargo.toml b/Cargo.toml index 0772160..1a4a39b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,7 +26,7 @@ totems = "0.2.7" [dependencies] clap = { version = "4.4.6", features = ["derive", "env"] } -cloudflare = { version = "0.10.1", features = [ +cloudflare = { version = "0.11.0", features = [ "rustls-tls", ], default-features = false } dnsclient = "0.1.18"