Skip to content

Commit

Permalink
Run cargo fmt and bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
yogh333 committed Aug 29, 2024
1 parent 8e484b9 commit 7efb784
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ledger_device_sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 = []
Expand Down
2 changes: 1 addition & 1 deletion ledger_secure_sdk_sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 5 additions & 2 deletions ledger_secure_sdk_sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
}

Expand Down

0 comments on commit 7efb784

Please sign in to comment.