1#[cfg(all(
4 not(feature = "29_0"),
5 not(feature = "28_1"),
6 not(feature = "28_0"),
7 not(feature = "27_2"),
8 not(feature = "27_1"),
9 not(feature = "27_0"),
10 not(feature = "26_2"),
11 not(feature = "25_2"),
12 not(feature = "24_2"),
13 not(feature = "23_2"),
14 not(feature = "22_1"),
15 not(feature = "0_21_2"),
16 not(feature = "0_20_2"),
17 not(feature = "0_19_1"),
18 not(feature = "0_18_1"),
19 not(feature = "0_17_2")
20))]
21compile_error!("enable a feature in order to select the version of Bitcoin Core to use");
22
23#[cfg(feature = "29_0")]
24#[allow(dead_code)] pub const VERSION: &str = "29.0";
26
27#[cfg(all(feature = "28_1", not(feature = "29_0")))]
28pub const VERSION: &str = "28.1";
29
30#[cfg(all(feature = "28_0", not(feature = "28_1")))]
31pub const VERSION: &str = "28.0";
32
33#[cfg(all(feature = "27_2", not(feature = "28_0")))]
34pub const VERSION: &str = "27.2";
35
36#[cfg(all(feature = "27_1", not(feature = "27_2")))]
37pub const VERSION: &str = "27.1";
38
39#[cfg(all(feature = "27_0", not(feature = "27_1")))]
40pub const VERSION: &str = "27.0";
41
42#[cfg(all(feature = "26_2", not(feature = "27_0")))]
43pub const VERSION: &str = "26.2";
44
45#[cfg(all(feature = "25_2", not(feature = "26_2")))]
46pub const VERSION: &str = "25.2";
47
48#[cfg(all(feature = "24_2", not(feature = "25_2")))]
49pub const VERSION: &str = "24.2";
50
51#[cfg(all(feature = "23_2", not(feature = "24_2")))]
52pub const VERSION: &str = "23.2";
53
54#[cfg(all(feature = "22_1", not(feature = "23_2")))]
55pub const VERSION: &str = "22.1";
56
57#[cfg(all(feature = "0_21_2", not(feature = "22_1")))]
58pub const VERSION: &str = "0.21.2";
59
60#[cfg(all(feature = "0_20_2", not(feature = "0_21_2")))]
61pub const VERSION: &str = "0.20.2";
62
63#[cfg(all(feature = "0_19_1", not(feature = "0_20_2")))]
64pub const VERSION: &str = "0.19.1";
65
66#[cfg(all(feature = "0_18_1", not(feature = "0_19_1")))]
67pub const VERSION: &str = "0.18.1";
68
69#[cfg(all(feature = "0_17_2", not(feature = "0_18_1")))]
70pub const VERSION: &str = "0.17.2";
71
72#[cfg(all(
75 not(feature = "29_0"),
76 not(feature = "28_1"),
77 not(feature = "28_0"),
78 not(feature = "27_2"),
79 not(feature = "27_1"),
80 not(feature = "27_0"),
81 not(feature = "26_2"),
82 not(feature = "25_2"),
83 not(feature = "24_2"),
84 not(feature = "23_2"),
85 not(feature = "22_1"),
86 not(feature = "0_21_2"),
87 not(feature = "0_20_2"),
88 not(feature = "0_19_1"),
89 not(feature = "0_18_1"),
90 not(feature = "0_17_2")
91))]
92pub const VERSION: &str = "never-used";