forked from rust-bitcoin/corepc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
69 lines (61 loc) · 2.49 KB
/
Cargo.toml
File metadata and controls
69 lines (61 loc) · 2.49 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
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
[package]
name = "corepc-node"
version = "0.7.0"
authors = ["Riccardo Casatta <riccardo@casatta.it>", "Tobin C. Harding <me@tobin.cc>"]
license = "MIT"
repository = "https://github.com/rust-bitcoin/corepc"
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]
corepc-client = { version = "0.7.0", features = ["client-sync"] }
log = { version = "0.4", default-features = false }
which = { version = "3.1.1", default-features = false }
anyhow = { version = "1.0.66", default-features = false, features = ["std"] }
tempfile = {version = "3", default-features = false }
serde_json = { version = "1.0.117", default-features = false }
[dev-dependencies]
env_logger = { version = "0.9.3", default-features = false }
[build-dependencies]
anyhow = { version = "1.0.66", optional = true }
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.5.13", default-features = false, features = ["bzip2", "deflate"], optional = true }
# Please note, it is expected that a single version feature will be enabled however if you enable
# multiple the highest version number will take precedence.
#
# - `cargo test --features=27_2,download` to download Bitcoin Core binary `v27.2`.
# - `cargo test --features=28_0` to use `bitcoind` from the host environment.
# - `cargo test` is equivalent to `cargo test --features=0_17_2`.
# - `cargo test --all-features`: Same as using latest version.
# - `cargo test --no-default-features` does not work, you MUST enable a version feature.
[features]
default = ["0_17_2"]
download = ["anyhow", "bitcoin_hashes", "flate2", "tar", "minreq", "zip"]
# We support all minor releases of the latest three versions.
28_0 = ["27_2"]
27_2 = ["27_1"]
27_1 = ["27_0"]
27_0 = ["26_2"]
26_2 = ["26_1"]
26_1 = ["26_0"]
26_0 = ["25_2"]
# We only support the latest minor version for older versions.
25_2 = ["24_2"]
24_2 = ["23_2"]
23_2 = ["22_1"]
22_1 = ["0_21_2"]
0_21_2 = ["0_20_2"]
0_20_2 = ["0_19_1"]
0_19_1 = ["0_18_1"]
0_18_1 = ["0_17_2"]
0_17_2 = []
[package.metadata.docs.rs]
features = ["28_0"]
rustdoc-args = ["--cfg", "docsrs"]