-
Notifications
You must be signed in to change notification settings - Fork 90
Expand file tree
/
Copy pathCargo.toml
More file actions
37 lines (32 loc) · 1.23 KB
/
Cargo.toml
File metadata and controls
37 lines (32 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[package]
name = "ledger_bitcoin_client"
version = "0.6.0"
authors = ["Ledger"]
edition = "2018"
description = "Ledger Bitcoin application client"
repository = "https://github.com/LedgerHQ/app-bitcoin-new"
license = "Apache-2.0"
documentation = "https://docs.rs/ledger_bitcoin_client/"
[features]
default = ["async", "paranoid_client"]
async = ["async-trait"]
# The paranoid_client feature makes sure that the client independently derives wallet
# policy addresses using rust-miniscript, returning an error if they do not match.
# It is strongly recommended to not disable this feature, unless the same check is
# performed elsewhere.
# Read more at https://donjon.ledger.com/lsb/019/
paranoid_client = ["miniscript"]
[dependencies]
async-trait = { version = "0.1", optional = true }
bitcoin = { version = "0.32", default-features = false }
miniscript = { version = "12.2", optional = true, default-features = false, features = ["no-std"] }
[workspace]
members = ["examples/ledger_hwi"]
# Dependencies used for tests and examples only.
[dev-dependencies]
hex = "0.4.3"
hex-literal = "1.1.0"
tokio = { version = "1.21", features = ["macros", "rt", "rt-multi-thread"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
base64 = "0.13.0"