2023-06-05 05:50:39 +00:00
|
|
|
[package]
|
|
|
|
name = "trezor-client"
|
2024-07-12 08:10:12 +00:00
|
|
|
version = "0.1.4"
|
2023-06-05 05:50:39 +00:00
|
|
|
authors = [
|
2023-07-12 12:30:22 +00:00
|
|
|
"Piyush Kumar <piyushkumar2k02@kgpian.iitkgp.ac.in>",
|
|
|
|
"joshieDo <ranriver@protonmail.com>",
|
2023-06-05 05:50:39 +00:00
|
|
|
"DaniPopes <57450786+DaniPopes@users.noreply.github.com>",
|
2023-07-12 12:30:22 +00:00
|
|
|
"Roman Zeyde <me@romanzey.de>",
|
2023-06-05 05:50:39 +00:00
|
|
|
"Steven Roose <steven@stevenroose.org>",
|
|
|
|
]
|
|
|
|
license = "CC0-1.0"
|
2023-07-12 08:14:58 +00:00
|
|
|
homepage = "https://github.com/trezor/trezor-firmware/tree/master/rust/trezor-client"
|
|
|
|
repository = "https://github.com/trezor/trezor-firmware"
|
2023-06-05 05:50:39 +00:00
|
|
|
description = "Client library for interfacing with Trezor hardware wallet devices"
|
|
|
|
keywords = ["ethereum", "bitcoin", "trezor", "wallet"]
|
|
|
|
categories = ["api-bindings", "cryptography::cryptocurrencies"]
|
|
|
|
readme = "README.md"
|
2023-09-29 18:13:00 +00:00
|
|
|
exclude = [".github/", "examples/", "scripts/", ".clippy.toml", ".gitignore", "rustfmt.toml"]
|
2023-06-05 05:50:39 +00:00
|
|
|
edition = "2021"
|
|
|
|
rust-version = "1.60"
|
|
|
|
|
2023-09-29 18:13:00 +00:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
|
|
|
[workspace]
|
|
|
|
members = ["build", "."]
|
|
|
|
|
|
|
|
[workspace.dependencies]
|
|
|
|
# important: keep in sync
|
2023-11-22 22:18:21 +00:00
|
|
|
protobuf = "=3.3.0"
|
|
|
|
protobuf-codegen = "=3.3.0"
|
2023-09-29 18:13:00 +00:00
|
|
|
|
2023-06-05 05:50:39 +00:00
|
|
|
[dependencies]
|
2023-09-29 18:13:00 +00:00
|
|
|
protobuf.workspace = true
|
2023-06-05 05:50:39 +00:00
|
|
|
byteorder = "1.4"
|
|
|
|
rusb = "0.9"
|
|
|
|
|
|
|
|
hex = { version = "0.4", default-features = false, features = ["std"] }
|
|
|
|
thiserror = "1.0"
|
|
|
|
tracing = "0.1"
|
|
|
|
|
|
|
|
# bitcoin
|
2023-11-22 22:10:48 +00:00
|
|
|
bitcoin = { version = "0.31", optional = true }
|
2023-06-05 05:50:39 +00:00
|
|
|
unicode-normalization = { version = "0.1.22", optional = true }
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
tracing-subscriber = "0.3"
|
|
|
|
serial_test = "2.0.0"
|
|
|
|
|
|
|
|
[features]
|
2024-03-07 20:34:27 +00:00
|
|
|
default = ["bitcoin", "ethereum", "solana"]
|
2023-06-05 05:50:39 +00:00
|
|
|
|
|
|
|
# Client implementations
|
|
|
|
bitcoin = ["dep:bitcoin", "unicode-normalization"]
|
2024-01-05 20:57:24 +00:00
|
|
|
ethereum = []
|
2023-06-05 05:50:39 +00:00
|
|
|
|
|
|
|
# Just bindings to the Trezor protobufs
|
|
|
|
binance = []
|
|
|
|
cardano = []
|
|
|
|
eos = []
|
|
|
|
monero = []
|
|
|
|
nem = []
|
|
|
|
ripple = []
|
2023-10-18 09:28:04 +00:00
|
|
|
solana = []
|
2023-06-05 05:50:39 +00:00
|
|
|
stellar = []
|
|
|
|
tezos = []
|
|
|
|
webauthn = []
|