|
1 |
| -// All features uses 26_0 |
| 1 | +// All features uses 26_2 |
2 | 2 | /// The version specific client and json types.
|
3 | 3 | ///
|
4 | 4 | /// **THIS IS AVAILABLE FOR ALL VERSION NUMBER FEATURES** (eg `25_0`, `24_2` etc). This crate is
|
5 | 5 | /// unusual in that it expects exactly one version number feature to be selected, docs.rs is not set
|
6 | 6 | /// up to handle such oddity.
|
7 | 7 | ///
|
8 |
| -#[cfg(feature = "26_0")] |
| 8 | +#[cfg(feature = "26_2")] |
| 9 | +#[allow(unused_imports)] // Not all users need the json types. |
| 10 | +pub use bitcoind_json_rpc_client::{client_sync::v26::{Client, AddressType}, json::v26 as json}; |
| 11 | + |
| 12 | +#[cfg(all(feature = "26_1", not(feature = "26_2")))] |
| 13 | +#[allow(unused_imports)] // Not all users need the json types. |
| 14 | +pub use bitcoind_json_rpc_client::{client_sync::v26::{Client, AddressType}, json::v26 as json}; |
| 15 | + |
| 16 | +#[cfg(all(feature = "26_0", not(feature = "26_1")))] |
9 | 17 | #[allow(unused_imports)] // Not all users need the json types.
|
10 | 18 | pub use bitcoind_json_rpc_client::{client_sync::v26::{Client, AddressType}, json::v26 as json};
|
11 | 19 |
|
@@ -74,6 +82,6 @@ pub use bitcoind_json_rpc_client::{client_sync::v18::{Client, AddressType}, json
|
74 | 82 | pub use bitcoind_json_rpc_client::{client_sync::v17::{Client, AddressType}, json::v17 as json};
|
75 | 83 |
|
76 | 84 | // To make --no-default-features work we have to re-export a the types, use most recent version same as we do for all features.
|
77 |
| -#[cfg(all(not(feature = "26_0"), not(feature = "25_2"), not(feature = "25_1"), not(feature = "25_0"), not(feature = "24_2"),not(feature = "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_1")))] |
| 85 | +#[cfg(all(not(feature = "26_2"), not(feature = "26_1"), not(feature = "26_0"), not(feature = "25_2"), not(feature = "25_1"), not(feature = "25_0"), not(feature = "24_2"),not(feature = "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_1")))] |
78 | 86 | #[allow(unused_imports)] // Not all users need the json types.
|
79 | 87 | pub use bitcoind_json_rpc_client::{client_sync::v26::{Client, AddressType}, json::v26 as json};
|
0 commit comments