This repository was archived by the owner on Nov 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCargo.toml
80 lines (70 loc) · 2.53 KB
/
Cargo.toml
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[package]
name = "bitcoind-json-rpc-regtest"
version = "0.3.0"
authors = ["Riccardo Casatta <[email protected]>", "Tobin C. Harding <[email protected]>"]
license = "MIT"
repository = "https://github.com/rust-bitcoin/rust-bitcoind-json-rpc"
description = "Utility to run a regtest bitcoind process, useful in integration testing environments"
categories = ["cryptography::cryptocurrencies", "development-tools::testing"]
keywords = ["bitcoin", "bitcoind", "json-rpc"]
readme = "README.md"
edition = "2021"
rust-version = "1.63.0"
exclude = ["tests", "contrib"]
[dependencies]
bitcoind-json-rpc-client = { version = "0.3", features = ["client-sync"] }
log = "0.4"
which = "4.2.5"
anyhow = "1.0.66"
tempfile = "3"
serde_json = { version = "1.0.117" }
[dev-dependencies]
env_logger = "0.9.0"
[build-dependencies]
bitcoin_hashes = { version = ">= 0.13, <= 0.14", optional = true }
flate2 = { version = "1.0", optional = true }
tar = { version = "0.4", optional = true }
minreq = { version = "2.9.1", default-features = false, features = [
"https",
], optional = true }
zip = { version = "0.6", optional = true }
anyhow = "1.0.66"
# Please note, in this crate the version features are mutally exclusive.
#
# - `cargo test --all-features` is the same as `cargo test --features=v28_0`
# - `cargo test --no-default-features` uses `v28_0` also.
[features]
# download is not supposed to be used directly only through selecting one of the version feature
"download" = ["bitcoin_hashes", "flate2", "tar", "minreq", "zip"]
# We support all minor releases (but only the latest patch release).
"28_0" = ["download", "27_1"]
"27_1" = ["download", "27_0"]
"27_0" = ["download", "26_2"]
"26_2" = ["download", "26_1"]
"26_1" = ["download", "26_0"]
"26_0" = ["download", "25_2"]
"25_2" = ["download", "25_1"]
"25_1" = ["download", "25_0"]
"25_0" = ["download", "24_2"]
"24_2" = ["download", "24_1"]
"24_1" = ["download", "24_0_1"]
"24_0_1" = ["download", "23_2"]
"23_2" = ["download", "23_1"]
"23_1" = ["download", "23_0"]
"23_0" = ["download", "22_1"]
"22_1" = ["download", "22_0"]
"22_0" = ["download", "0_21_2"]
# We only support the latest minor version for these.
"0_21_2" = ["download", "0_20_2"]
"0_20_2" = ["download", "0_19_1"]
"0_19_1" = ["download", "0_18_1"]
"0_18_1" = ["download", "0_17_1"]
"0_17_1" = ["download"]
"doc" = [] # used only for documentation building
[package.metadata.docs.rs]
features = ["download", "doc", "26_2"]
rustdoc-args = ["--cfg", "docsrs"]
[patch.crates-io.bitcoind-json-rpc-client]
path = "../client"
[patch.crates-io.bitcoind-json-rpc-types]
path = "../json"