summaryrefslogtreecommitdiff
path: root/btc-wire/Cargo.toml
blob: 91d3722de469a8277b9ae4fe7b9a258304c94789 (plain)
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
38
39
40
41
42
43
[package]
name = "btc-wire"
version = "0.1.0"
edition = "2021"
license = "AGPL-3.0-or-later"
rust-version = "1.63.0"

[features]
# Enable random failures
fail = []

[dependencies]
# Typed bitcoin rpc types
bitcoin = { version = "0.29.2", features = [
    "std",
    "serde",
], default-features = false }
# Cli args parser
clap = { version = "=4.0.32", features = ["derive"] }
clap_lex = "=0.3.0"
# Bech32 encoding and decoding
bech32 = "0.9.1"
# Serialization library
serde = { version = "1.0.152", features = ["derive"] }
serde_json = "1.0.91"
serde_repr = "0.1.10"
# Error macros
thiserror = "1.0.38"
base64 = "0.21.0"
# Common lib
common = { path = "../common" }
# Ini parser
rust-ini = "0.18.0"
# Hexadecimal encoding
hex = "0.4.3"

[dev-dependencies]
# statistics-driven micro-benchmarks
criterion = "0.4.0"

[[bench]]
name = "metadata"
harness = false