From 7efb78487cef9381282a075c2abb1276236ca293 Mon Sep 17 00:00:00 2001 From: GroM Date: Thu, 29 Aug 2024 18:11:32 +0200 Subject: [PATCH] Run cargo fmt and bump versions --- Cargo.lock | 4 ++-- ledger_device_sdk/Cargo.toml | 4 ++-- ledger_secure_sdk_sys/Cargo.toml | 2 +- ledger_secure_sdk_sys/build.rs | 7 +++++-- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c72f68f5..8e5e096f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -474,7 +474,7 @@ checksum = "03087c2bad5e1034e8cace5926dec053fb3790248370865f5117a7d0213354c8" [[package]] name = "ledger_device_sdk" -version = "1.15.1" +version = "1.15.2" dependencies = [ "const-zero", "include_gif", @@ -489,7 +489,7 @@ dependencies = [ [[package]] name = "ledger_secure_sdk_sys" -version = "1.4.5" +version = "1.4.6" dependencies = [ "bindgen", "cc", diff --git a/ledger_device_sdk/Cargo.toml b/ledger_device_sdk/Cargo.toml index d512961f..3b32401d 100644 --- a/ledger_device_sdk/Cargo.toml +++ b/ledger_device_sdk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ledger_device_sdk" -version = "1.15.1" +version = "1.15.2" authors = ["yhql", "yogh333", "agrojean-ledger", "kingofpayne"] edition = "2021" license.workspace = true @@ -21,7 +21,7 @@ rand_core = { version = "0.6.3", default_features = false } zeroize = { version = "1.6.0", default_features = false } numtoa = "0.2.4" const-zero = "0.1.1" -ledger_secure_sdk_sys = { path = "../ledger_secure_sdk_sys", version = "1.4.5" } +ledger_secure_sdk_sys = { path = "../ledger_secure_sdk_sys", version = "1.4.6" } [features] speculos = [] diff --git a/ledger_secure_sdk_sys/Cargo.toml b/ledger_secure_sdk_sys/Cargo.toml index 46c34a14..1f7b853d 100644 --- a/ledger_secure_sdk_sys/Cargo.toml +++ b/ledger_secure_sdk_sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ledger_secure_sdk_sys" -version = "1.4.5" +version = "1.4.6" authors = ["yhql", "agrojean-ledger"] edition = "2021" license.workspace = true diff --git a/ledger_secure_sdk_sys/build.rs b/ledger_secure_sdk_sys/build.rs index 250007c1..0cb60e86 100644 --- a/ledger_secure_sdk_sys/build.rs +++ b/ledger_secure_sdk_sys/build.rs @@ -590,8 +590,11 @@ impl SDKBuilder { // Generate the heap_size.rs file with the HEAP_SIZE value let out_dir = env::var("OUT_DIR").unwrap(); let dest_path = Path::new(&out_dir).join("heap_size.rs"); - fs::write(&dest_path, format!("pub const HEAP_SIZE: usize = {};", heap_size)) - .expect("Unable to write file"); + fs::write( + &dest_path, + format!("pub const HEAP_SIZE: usize = {};", heap_size), + ) + .expect("Unable to write file"); } }