Crates.io | ledger_secure_sdk_sys |
lib.rs | ledger_secure_sdk_sys |
version | 1.5.3 |
source | src |
created_at | 2023-11-14 16:08:51.045443 |
updated_at | 2024-11-07 07:30:09.884607 |
description | Bindings to Ledger C SDK |
homepage | |
repository | https://github.com/LedgerHQ/ledger-device-rust-sdk |
max_upload_size | |
id | 1035000 |
size | 195,185 |
Provides access to low-level APIs to the operating system of Ledger devices.
Depending on the target (--target nanos
, --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/"