Crates.io | ledger_secure_sdk_sys |
lib.rs | ledger_secure_sdk_sys |
version | |
source | src |
created_at | 2023-11-14 16:08:51.045443 |
updated_at | 2024-12-16 15:31:44.912378 |
description | Bindings to Ledger C SDK |
homepage | |
repository | https://github.com/LedgerHQ/ledger-device-rust-sdk |
max_upload_size | |
id | 1035000 |
Cargo.toml error: | TOML parse error at line 22, column 1 | 22 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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/"