From 755e7d6aae141510763502da07167393ecc1cc4b Mon Sep 17 00:00:00 2001 From: Egor Savkin Date: Wed, 8 Feb 2023 16:36:46 +0800 Subject: [PATCH] WIP replace crates' patch with forked fatfs Signed-off-by: Egor Savkin --- Cargo.lock | 3 +-- Cargo.toml | 3 --- libconfig/Cargo.toml | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 57434f6..8e18bcd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -72,8 +72,7 @@ dependencies = [ [[package]] name = "fatfs" version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05669f8e7e2d7badc545c513710f0eba09c2fbef683eb859fd79c46c355048e0" +source = "git+https://github.com/thomasfire/rust-fatfs.git?branch=stable-0.3#bfbb0e9d04ed07d8f5864af2bd844842febd6f77" dependencies = [ "bitflags", "byteorder", diff --git a/Cargo.toml b/Cargo.toml index 14ad22b..8f18210 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,6 +18,3 @@ opt-level = 's' lto = true debug-assertions = false overflow-checks = false - -[patch.crates-io] -core_io = { git = "https://github.com/thomasfire/rust-core_io.git" } diff --git a/libconfig/Cargo.toml b/libconfig/Cargo.toml index 22287ca..09b94c6 100644 --- a/libconfig/Cargo.toml +++ b/libconfig/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" [dependencies] libboard_zynq = { path = "../libboard_zynq" } core_io = { version = "0.1.20221029", features = ["collections"], git = "https://github.com/thomasfire/rust-core_io.git" } -fatfs = { version = "0.3", features = ["core_io"], default-features = false } +fatfs = { version = "0.3.6", features = ["core_io"], default-features = false, git = "https://github.com/thomasfire/rust-fatfs.git", branch = "stable-0.3" } log = "0.4" [features]