2023-06-05 05:50:39 +00:00
|
|
|
[package]
|
|
|
|
name = "trezor-client"
|
2023-08-10 08:00:13 +00:00
|
|
|
version = "0.1.2"
|
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"
|
|
|
|
exclude = [".github/", ".vscode/", "examples/", "scripts/", "trezor-common/", "rustfmt.toml"]
|
|
|
|
edition = "2021"
|
|
|
|
rust-version = "1.60"
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
protobuf = "3.2"
|
|
|
|
byteorder = "1.4"
|
|
|
|
rusb = "0.9"
|
|
|
|
|
|
|
|
hex = { version = "0.4", default-features = false, features = ["std"] }
|
|
|
|
thiserror = "1.0"
|
|
|
|
tracing = "0.1"
|
|
|
|
|
|
|
|
# bitcoin
|
|
|
|
bitcoin = { version = "0.30", optional = true }
|
|
|
|
unicode-normalization = { version = "0.1.22", optional = true }
|
|
|
|
|
|
|
|
# ethereum
|
|
|
|
primitive-types = { version = "0.12", default-features = false, optional = true }
|
|
|
|
|
2023-06-18 04:26:46 +00:00
|
|
|
[build-dependencies]
|
|
|
|
protobuf-codegen = "3.2.0"
|
|
|
|
|
2023-06-05 05:50:39 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
tracing-subscriber = "0.3"
|
|
|
|
serial_test = "2.0.0"
|
|
|
|
|
|
|
|
[features]
|
|
|
|
default = ["bitcoin", "ethereum"]
|
|
|
|
|
|
|
|
# Client implementations
|
|
|
|
bitcoin = ["dep:bitcoin", "unicode-normalization"]
|
|
|
|
ethereum = ["primitive-types"]
|
|
|
|
|
|
|
|
# Just bindings to the Trezor protobufs
|
|
|
|
binance = []
|
|
|
|
cardano = []
|
|
|
|
eos = []
|
|
|
|
monero = []
|
|
|
|
nem = []
|
|
|
|
ripple = []
|
|
|
|
stellar = []
|
|
|
|
tezos = []
|
|
|
|
webauthn = []
|