ledger_secure_sdk_sys

Crates.ioledger_secure_sdk_sys
lib.rsledger_secure_sdk_sys
version1.14.0
created_at2023-11-14 16:08:51.045443+00
updated_at2026-01-15 11:23:13.704999+00
descriptionBindings to Ledger C SDK
homepage
repositoryhttps://github.com/LedgerHQ/ledger-device-rust-sdk
max_upload_size
id1035000
size88,558
(cratesio-ledger)

documentation

README

Rust Low-level bindings to the Ledger C SDK

Dynamic TOML Badge

Provides access to low-level APIs to the operating system of Ledger devices.

Build

Depending on the target (--target nanosplus, --target nanox, ...), this crate will git clone the appropriate branch (API_LEVEL_x) of the C SDK and compile the subset of files necessary for the Rust SDK to work.

To use an already-cloned C SDK, you can pass its path through the environment variable LEDGER_SDK_PATH=/path/to/c_sdk or through cargo's --config flag:

cargo build --target nanosplus --config env.LEDGER_SDK_PATH="../ledger-secure-sdk/"
Commit count: 949

cargo fmt