From 800bccf3758379356d915aea5264a0d5e0465799 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sosth=C3=A8ne=20Gu=C3=A9don?= Date: Fri, 9 Jun 2023 17:18:13 +0200 Subject: [PATCH] Bump littlefs2-sys --- Cargo.toml | 5 ++++- src/fs.rs | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 1cc635df..7a17bd3e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,7 @@ default-features = false version = "0.2" [dependencies.littlefs2-sys] -version = "0.1.6" +version = "0.2" [dependencies.serde] version = "1" @@ -57,3 +57,6 @@ log-error = [] # member `char name[LFS_NAME_MAX+1]`. # This means that if we change `traits::Storage::FILENAME_MAX_PLUS_ONE`, # we need to pass this on! + +[patch.crates-io] +littlefs2-sys = { git = "https://github.com/sosthene-nitrokey/littlefs2-sys.git", branch = "update" } diff --git a/src/fs.rs b/src/fs.rs index 4e1ef87b..9a4904c7 100644 --- a/src/fs.rs +++ b/src/fs.rs @@ -132,6 +132,7 @@ impl Allocation { name_max: filename_max_plus_one.wrapping_sub(1), file_max, attr_max, + metadata_max: 0, }; Self {