# 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 = "2021" name = "foundation-firmware" version = "0.2.0" description = """ Foundation Devices, Inc. Passport Firmware image parser. This provides a command-line tool to verify the signatures of a Passport firmware and also a `#[no_std]` library to parse the firmware images.""" homepage = "https://github.com/Foundation-Devices/foundation-rs" license = "GPL-3.0-or-later AND GPL-3.0-only" [[bin]] name = "foundation-firmware" required-features = ["binary"] [dependencies.anyhow] version = "1.0.83" optional = true default-features = false [dependencies.bitcoin_hashes] version = "0.15" default-features = false [dependencies.clap] version = "4" features = ["cargo"] optional = true [dependencies.faster-hex] version = "0.9" optional = true default-features = false [dependencies.heapless] version = "0.8" default-features = false [dependencies.nom] version = "7" default-features = false [dependencies.secp256k1] version = "0.30" default-features = false [dev-dependencies] [features] binary = [ "anyhow", "clap", "faster-hex", "secp256k1/global-context", "std", ] default = [ "std", "binary", ] std = [ "anyhow/std", "faster-hex?/std", "nom/std", "secp256k1/std", ]