21 stable releases
1.6.0 | Dec 16, 2024 |
---|---|
1.5.3 | Nov 7, 2024 |
1.5.2 | Oct 31, 2024 |
1.4.3 | Jul 17, 2024 |
1.0.1 | Nov 24, 2023 |
#924 in Magic Beans
1,736 downloads per month
Used in 2 crates
185KB
2.5K
SLoC
Rust Low-level bindings to the Ledger C SDK
Provides access to low-level APIs to the operating system of Ledger devices.
Build
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/"
Dependencies
~0–2.2MB
~44K SLoC