|
1 | 1 | // All features uses 26_0 |
2 | 2 | #[cfg(feature = "26_0")] |
3 | 3 | #[allow(unused_imports)] // Not all users need the json types. |
4 | | -pub use bitcoind_json_rpc_client::{client_sync::v26::Client, json::v26 as json}; |
| 4 | +pub use bitcoind_json_rpc_client::{client_sync::v26::{Client, AddressType}, json::v26 as json}; |
5 | 5 |
|
6 | 6 | #[cfg(all(feature = "25_2", not(feature = "26_0")))] |
7 | 7 | #[allow(unused_imports)] // Not all users need the json types. |
8 | | -pub use bitcoind_json_rpc_client::{client_sync::v25::Client, json::v25 as json}; |
| 8 | +pub use bitcoind_json_rpc_client::{client_sync::v25::{Client, AddressType}, json::v25 as json}; |
9 | 9 |
|
10 | 10 | #[cfg(all(feature = "25_1", not(feature = "25_2")))] |
11 | 11 | #[allow(unused_imports)] // Not all users need the json types. |
12 | | -pub use bitcoind_json_rpc_client::{client_sync::v25::Client, json::v25 as json}; |
| 12 | +pub use bitcoind_json_rpc_client::{client_sync::v25::{Client, AddressType}, json::v25 as json}; |
13 | 13 |
|
14 | 14 | #[cfg(all(feature = "25_0", not(feature = "25_1")))] |
15 | 15 | #[allow(unused_imports)] // Not all users need the json types. |
16 | | -pub use bitcoind_json_rpc_client::{client_sync::v25::Client, json::v25 as json}; |
| 16 | +pub use bitcoind_json_rpc_client::{client_sync::v25::{Client, AddressType}, json::v25 as json}; |
17 | 17 |
|
18 | 18 | #[cfg(all(feature = "24_2", not(feature = "25_0")))] |
19 | 19 | #[allow(unused_imports)] // Not all users need the json types. |
20 | | -pub use bitcoind_json_rpc_client::{client_sync::v24::Client, json::v24 as json}; |
| 20 | +pub use bitcoind_json_rpc_client::{client_sync::v24::{Client, AddressType}, json::v24 as json}; |
21 | 21 |
|
22 | 22 | #[cfg(all(feature = "24_1", not(feature = "24_2")))] |
23 | 23 | #[allow(unused_imports)] // Not all users need the json types. |
24 | | -pub use bitcoind_json_rpc_client::{client_sync::v24::Client, json::v24 as json}; |
| 24 | +pub use bitcoind_json_rpc_client::{client_sync::v24::{Client, AddressType}, json::v24 as json}; |
25 | 25 |
|
26 | 26 | #[cfg(all(feature = "24_0_1", not(feature = "24_1")))] |
27 | 27 | #[allow(unused_imports)] // Not all users need the json types. |
28 | | -pub use bitcoind_json_rpc_client::{client_sync::v24::Client, json::v24 as json}; |
| 28 | +pub use bitcoind_json_rpc_client::{client_sync::v24::{Client, AddressType}, json::v24 as json}; |
29 | 29 |
|
30 | 30 | #[cfg(all(feature = "23_2", not(feature = "24_0_1")))] |
31 | 31 | #[allow(unused_imports)] // Not all users need the json types. |
32 | | -pub use bitcoind_json_rpc_client::{client_sync::v23::Client, json::v23 as json}; |
| 32 | +pub use bitcoind_json_rpc_client::{client_sync::v23::{Client, AddressType}, json::v23 as json}; |
33 | 33 |
|
34 | 34 | #[cfg(all(feature = "23_1", not(feature = "23_2")))] |
35 | 35 | #[allow(unused_imports)] // Not all users need the json types. |
36 | | -pub use bitcoind_json_rpc_client::{client_sync::v23::Client, json::v23 as json}; |
| 36 | +pub use bitcoind_json_rpc_client::{client_sync::v23::{Client, AddressType}, json::v23 as json}; |
37 | 37 |
|
38 | 38 | #[cfg(all(feature = "23_0", not(feature = "23_1")))] |
39 | 39 | #[allow(unused_imports)] // Not all users need the json types. |
40 | | -pub use bitcoind_json_rpc_client::{client_sync::v23::Client, json::v23 as json}; |
| 40 | +pub use bitcoind_json_rpc_client::{client_sync::v23::{Client, AddressType}, json::v23 as json}; |
41 | 41 |
|
42 | 42 | #[cfg(all(feature = "22_1", not(feature = "23_0")))] |
43 | 43 | #[allow(unused_imports)] // Not all users need the json types. |
44 | | -pub use bitcoind_json_rpc_client::{client_sync::v22::Client, json::v22 as json}; |
| 44 | +pub use bitcoind_json_rpc_client::{client_sync::v22::{Client, AddressType}, json::v22 as json}; |
45 | 45 |
|
46 | 46 | #[cfg(all(feature = "22_0", not(feature = "22_1")))] |
47 | 47 | #[allow(unused_imports)] // Not all users need the json types. |
48 | | -pub use bitcoind_json_rpc_client::{client_sync::v22::Client, json::v22 as json}; |
| 48 | +pub use bitcoind_json_rpc_client::{client_sync::v22::{Client, AddressType}, json::v22 as json}; |
49 | 49 |
|
50 | 50 | #[cfg(all(feature = "0_21_2", not(feature = "22_0")))] |
51 | 51 | #[allow(unused_imports)] // Not all users need the json types. |
52 | | -pub use bitcoind_json_rpc_client::{client_sync::v21::Client, json::v21 as json}; |
| 52 | +pub use bitcoind_json_rpc_client::{client_sync::v21::{Client, AddressType}, json::v21 as json}; |
53 | 53 |
|
54 | 54 | #[cfg(all(feature = "0_20_2", not(feature = "0_21_2")))] |
55 | 55 | #[allow(unused_imports)] // Not all users need the json types. |
56 | | -pub use bitcoind_json_rpc_client::{client_sync::v20::Client, json::v20 as json}; |
| 56 | +pub use bitcoind_json_rpc_client::{client_sync::v20::{Client, AddressType}, json::v20 as json}; |
57 | 57 |
|
58 | 58 | #[cfg(all(feature = "0_19_1", not(feature = "0_20_2")))] |
59 | 59 | #[allow(unused_imports)] // Not all users need the json types. |
60 | | -pub use bitcoind_json_rpc_client::{client_sync::v19::Client, json::v19 as json}; |
| 60 | +pub use bitcoind_json_rpc_client::{client_sync::v19::{Client, AddressType}, json::v19 as json}; |
61 | 61 |
|
62 | 62 | #[cfg(all(feature = "0_18_1", not(feature = "0_19_1")))] |
63 | 63 | #[allow(unused_imports)] // Not all users need the json types. |
64 | | -pub use bitcoind_json_rpc_client::{client_sync::v18::Client, json::v18 as json}; |
| 64 | +pub use bitcoind_json_rpc_client::{client_sync::v18::{Client, AddressType}, json::v18 as json}; |
65 | 65 |
|
66 | 66 | #[cfg(all(feature = "0_17_2", not(feature = "0_18_1")))] |
67 | 67 | #[allow(unused_imports)] // Not all users need the json types. |
68 | | -pub use bitcoind_json_rpc_client::{client_sync::v17::Client, json::v17 as json}; |
| 68 | +pub use bitcoind_json_rpc_client::{client_sync::v17::{Client, AddressType}, json::v17 as json}; |
69 | 69 |
|
70 | 70 | // To make --no-default-features work we have to enable some feature, use most recent version same as for default. |
71 | 71 | #[cfg(all(not(feature = "26_0"), not(feature = "25_2"), not(feature = "25_1"), not(feature = "25_0"), not(feature = "24_2"),not(feadure = "24_1"), not(feature = "24_0_1"), not(feature = "23_2"), not(feature = "23_1"), not(feature = "23_0"), not(feature = "22_1"), not(feature = "22_0"), not(feature = "0_21_2"), not(feature = "0_20_2"), not(feature = "0_19_1"), not(feature = "0_18_1"), not(feature = "0_17_2")))] |
72 | 72 | #[allow(unused_imports)] // Not all users need the json types. |
73 | | -pub use bitcoind_json_rpc_client::{client_sync::v26::Client, json::v26 as json}; |
| 73 | +pub use bitcoind_json_rpc_client::{client_sync::v26::{Client, AddressType}, json::v26 as json}; |
0 commit comments