From 0d2bbed9a0ffd712cde8d2881ec9a1846cb41688 Mon Sep 17 00:00:00 2001 From: Simon Renblad Date: Fri, 4 Oct 2024 17:19:23 +0800 Subject: [PATCH] add fatfs 0.4 dep --- libconfig/Cargo.toml | 6 +++++- szl/Cargo.toml | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/libconfig/Cargo.toml b/libconfig/Cargo.toml index 529860f..f6f983d 100644 --- a/libconfig/Cargo.toml +++ b/libconfig/Cargo.toml @@ -6,9 +6,13 @@ edition = "2021" [dependencies] libboard_zynq = { path = "../libboard_zynq" } -fatfs = { git = "https://github.com/rafalh/rust-fatfs", default-features = false } log = "0.4" +[dependencies.fatfs] +git = "https://github.com/rafalh/rust-fatfs" +rev = "85f06e0" +default-features = false + [features] target_zc706 = [] target_coraz7 = [] diff --git a/szl/Cargo.toml b/szl/Cargo.toml index 2f3fd01..fba9db9 100644 --- a/szl/Cargo.toml +++ b/szl/Cargo.toml @@ -16,10 +16,14 @@ default = ["target_zc706"] [dependencies] log = "0.4" byteorder = { version = "1.3", default-features = false } -fatfs = { git = "https://github.com/rafalh/rust-fatfs", default-features = false } libboard_zynq = { path = "../libboard_zynq" } libsupport_zynq = { path = "../libsupport_zynq" } libcortex_a9 = { path = "../libcortex_a9" } libregister = { path = "../libregister" } libconfig = { path = "../libconfig" } + +[dependencies.fatfs] +git = "https://github.com/rafalh/rust-fatfs" +rev = "85f06e0" +default-features = false