forked from rust-bitcoin/bitcoind
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
51 lines (42 loc) · 1.55 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
[package]
name = "bitcoind"
version = "0.32.0"
authors = ["Riccardo Casatta <[email protected]>"]
description = "Utility to run a regtest bitcoind process, useful in integration testing environment"
license = "MIT"
repository = "https://github.com/RCasatta/bitcoind"
documentation = "https://docs.rs/bitcoind/"
rust-version = "1.48.0" # without features, with any feature is 1.57
edition = "2018"
categories = ["cryptography::cryptocurrencies", "development-tools::testing"]
[dependencies]
bitcoincore-rpc = { package="core-rpc", version = "0.17.0" }
log = "0.4"
which = "4.2.5"
anyhow = "1.0.66"
tempfile = "3"
[dev-dependencies]
env_logger = "0.9.0"
[build-dependencies]
bitcoin_hashes = { version = "0.12", optional = true }
flate2 = { version = "1.0", optional = true }
tar = { version = "0.4", optional = true }
minreq = { version = "2.6.0", default-features = false, features = ["https"], optional = true }
zip = { version = "0.5", optional = true }
anyhow = "1.0.66"
[features]
# download is not supposed to be used directly only through selecting one of the version feature
"download" = ["bitcoin_hashes", "flate2", "tar", "minreq", "zip"]
"25_0" = ["download", "24_0_1"]
"24_0_1" = ["download", "23_1"]
"23_1" = ["download", "22_1"]
"22_1" = ["download", "0_21_2"]
"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"]
rustdoc-args = ["--cfg", "docsrs"]