ledger_secure_sdk_sys 1.16.0

Bindings to Ledger C SDK
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "ledger_secure_sdk_sys"
version = "1.16.0"
authors = ["Ledger"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bindings to Ledger C SDK"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/LedgerHQ/ledger-device-rust-sdk"
resolver = "2"

[features]
debug_csdk = []
heap = [
    "dep:embedded-alloc",
    "dep:critical-section",
]
nano_nbgl = []

[lib]
name = "ledger_secure_sdk_sys"
path = "src/lib.rs"

[dependencies.critical-section]
version = "1.2.0"
optional = true

[dependencies.embedded-alloc]
version = "0.5.1"
optional = true

[build-dependencies.bindgen]
version = "0.72.1"

[build-dependencies.cc]
version = "1.0.73"

[build-dependencies.glob]
version = "0.3.1"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ['cfg(target_os, values("apex_p", "stax", "flex", "nanox", "nanosplus"))']