Cargo Features

[dependencies]
corepc-node = { version = "0.5.0", default-features = false, features = ["download", "28_0", "27_2", "27_1", "27_0", "26_2", "26_1", "26_0", "25_2", "24_2", "23_2", "22_1", "0_21_2", "0_20_2", "0_19_1", "0_18_1", "0_17_1", "doc"] }

Please note, in this crate the version features are mutally exclusive.

  • cargo test --all-features is the same as cargo test --features=v28_0
  • To use --no-default-features you must configure the bitcoind binary to be version 28 either by having bitcoind in your path or using BITCOIND_EXE=/path/to/bitcoind.
  • cargo test --no-default-features uses v28_0 also.
default = 28_0

The 28_0 feature is set by default whenever corepc-node is added without default-features = false somewhere in the dependency tree.

download 0_17_1? 0_18_1? 0_19_1? 0_20_2? 0_21_2? 22_1? 23_2? 24_2? 25_2? 26_0? 26_1? 26_2? 27_0? 27_1? 27_2? 28_0 = bitcoin_hashes, flate2, minreq, tar, zip

download is not supposed to be used directly only through selecting one of the version feature

Affects corepc-node::downloaded_exe_path

28_0 default = 27_2, download

We support all minor releases of the latest three versions.

Affects versions::VERSION

27_2 28_0 = 27_1, download

Affects versions::VERSION

27_1 27_2? = 27_0, download

Affects versions::VERSION

27_0 27_1? = 26_2, download

Affects versions::VERSION

26_2 27_0? = 26_1, download

Affects versions::VERSION

26_1 26_2? = 26_0, download

Affects versions::VERSION

26_0 26_1? = 25_2, download

Affects versions::VERSION

25_2 26_0? = 24_2, download

We only support the latest minor version for older versions.

Affects versions::VERSION

24_2 25_2? = 23_2, download

Affects versions::VERSION

23_2 24_2? = 22_1, download

Affects versions::VERSION

22_1 23_2? = 0_21_2, download

Affects versions::VERSION

0_21_2 22_1? = 0_20_2, download

Affects versions::VERSION

0_20_2 0_21_2? = 0_19_1, download

Affects versions::VERSION

0_19_1 0_20_2? = 0_18_1, download

Affects versions::VERSION

0_18_1 0_19_1? = 0_17_1, download

Affects versions::VERSION

0_17_1 0_18_1? = download

Affects versions::VERSION

doc

used only for documentation building

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

bitcoin_hashes build download?

Enables bitcoin_hashes >=0.13, <=0.14

flate2 build download?
tar build download?
minreq build download?
zip build download?

Enables zip ^0.6