emerald-hwkey 0.7.0

Emerald HWKey - Harware Cryptocurrency Key Access
Documentation
# 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 = "emerald-hwkey"
version = "0.7.0"
authors = [
    "Igor Artamonov <igor@artamonov.email>",
    "Dmitry Ulanov <dulanov@gmail.com>",
    "Constantine Kryvomaz <kostiyantynk@gmail.com>",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Emerald HWKey - Harware Cryptocurrency Key Access"
documentation = "https://docs.rs/emerald-hwkey"
readme = "crates.md"
license = "Apache-2.0"
repository = "https://github.com/emeraldpay/emerald-hwkey"

[features]
default = []
speculos = [
    "dep:ureq",
    "dep:serde",
    "dep:serde_json",
    "dep:serde_derive",
]

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

[[test]]
name = "ledger_bitcoin"
path = "tests/ledger_bitcoin.rs"

[[test]]
name = "ledger_ethereum"
path = "tests/ledger_ethereum.rs"

[[test]]
name = "ledger_noapp"
path = "tests/ledger_noapp.rs"

[[test]]
name = "speculos_bitcoin"
path = "tests/speculos_bitcoin.rs"

[[test]]
name = "speculos_ethereum"
path = "tests/speculos_ethereum.rs"

[dependencies.bitcoin]
version = "0.32"

[dependencies.byteorder]
version = "1.5"

[dependencies.hdpath]
version = "0.7"

[dependencies.hex]
version = "0.4"

[dependencies.hidapi]
version = "2.6"

[dependencies.lazy_static]
version = "1.5"

[dependencies.log]
version = "0.4.11"

[dependencies.ripemd]
version = "0.1"

[dependencies.serde]
version = "1.0"
optional = true

[dependencies.serde_derive]
version = "1.0"
optional = true

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.sha2]
version = "0.10"

[dependencies.ureq]
version = "3.0.12"
features = ["json"]
optional = true
default-features = false

[dev-dependencies.bencher]
version = "0.1"

[dev-dependencies.quickcheck]
version = "1.0"

[dev-dependencies.rand]
version = "0.9"

[dev-dependencies.secp256k1]
version = "=0.29.1"
features = [
    "rand",
    "recovery",
]

[dev-dependencies.serde]
version = "1.0"

[dev-dependencies.serde_derive]
version = "1.0"

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.simple_logger]
version = "4.3"

[dev-dependencies.tempdir]
version = "0.3"

[dev-dependencies.testcontainers]
version = "0.25"

[dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "rt-multi-thread",
    "macros",
]

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(integration_test, test_hid, test_noapp, test_ethereum, test_ethereum_classic, test_bitcoin, test_bitcoin_testnet)"]