From edd0f107f2d1c0ee79de88a0b322e24d996d30e2 Mon Sep 17 00:00:00 2001 From: Kade Date: Tue, 31 Oct 2023 16:46:31 -0400 Subject: [PATCH] fix(deps): bump cacache to resolve reflink (#60) * fix(deps): bump cacache to resolve reflink * docs: update readme --- Cargo.toml | 5 +---- README.md | 12 +----------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6ce9821..b207d1a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ keywords = ["ddragon", "league-of-legends", "lol", "teamfight-tactics", "tft"] categories = ["api-bindings"] [dependencies] -cacache = { version = "11.6", optional = true, default-features = false, features = ["tokio-runtime"] } +cacache = { version = "11.7.1", optional = true, default-features = false, features = ["tokio-runtime", "mmap"] } http-cache-reqwest = { version = "0.11", optional = true } image = { version = "0.24", default-features = false, features = ["png"], optional = true } reqwest = { version = "0.11", default-features = false, features = ["json"], optional = true } @@ -41,9 +41,6 @@ debug = 0 [profile.release] debug = 0 -[patch.crates-io] -reflink = { git = "https://github.com/nicokoch/reflink", rev = "e8d93b46" } - [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] diff --git a/README.md b/README.md index c2ff663..6ab7e8b 100644 --- a/README.md +++ b/README.md @@ -94,14 +94,4 @@ ddragon = { version = "", default-features = false } ### MSRV -Currently, this crate support Rust >= 1.65.0. - -### Note: `musl` builds for `async` users - -A dependency of this crate is `reflink`, which does not have a version published to `crates.io` compatible with musl. -If you want to build with one of the `async` features, you will need the following patch in your `Cargo.toml`: - -```toml -[patch.crates-io] -reflink = { git = "https://github.com/nicokoch/reflink", rev = "e8d93b46" } -``` +Currently, this crate support Rust >= 1.67.1.