1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-06-01 13:48:46 +00:00
trezor-firmware/rust/trezor-client/Cargo.toml
DaniPopes 07c16858d4 chore(rust/trezor-client): bump dependencies
Fixes https://github.com/advisories/GHSA-2gh3-rmm4-6rq5 and a few warnings.

Signed-off-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
2025-04-29 23:52:44 +02:00

77 lines
1.7 KiB
TOML

[package]
name = "trezor-client"
version = "0.1.5"
authors = [
"Piyush Kumar <piyushkumar2k02@kgpian.iitkgp.ac.in>",
"joshieDo <ranriver@protonmail.com>",
"DaniPopes <57450786+DaniPopes@users.noreply.github.com>",
"Roman Zeyde <me@romanzey.de>",
"Steven Roose <steven@stevenroose.org>",
]
license = "CC0-1.0"
homepage = "https://github.com/trezor/trezor-firmware/tree/master/rust/trezor-client"
repository = "https://github.com/trezor/trezor-firmware"
description = "Client library for interfacing with Trezor hardware wallet devices"
keywords = ["ethereum", "bitcoin", "trezor", "wallet"]
categories = ["api-bindings", "cryptography::cryptocurrencies"]
readme = "README.md"
exclude = [
".github/",
"examples/",
"scripts/",
".clippy.toml",
".gitignore",
"rustfmt.toml",
]
edition = "2021"
rust-version = "1.60"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[workspace]
members = ["build", "."]
[workspace.dependencies]
# important: keep in sync
protobuf = "=3.7.2"
protobuf-codegen = "=3.7.2"
[dependencies]
protobuf.workspace = true
byteorder = "1.4"
rusb = "0.9"
hex = { version = "0.4", default-features = false, features = ["std"] }
thiserror = "2.0"
tracing = "0.1"
# bitcoin
bitcoin = { version = "0.32", optional = true }
unicode-normalization = { version = "0.1.22", optional = true }
[dev-dependencies]
tracing-subscriber = "0.3"
serial_test = "3"
[features]
default = ["bitcoin", "ethereum", "solana"]
# Client implementations
bitcoin = ["dep:bitcoin", "unicode-normalization"]
ethereum = []
# Just bindings to the Trezor protobufs
binance = []
cardano = []
eos = []
monero = []
nem = []
nostr = []
ripple = []
solana = []
stellar = []
tezos = []
webauthn = []