We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d69cbf commit 06159c4Copy full SHA for 06159c4
src/lib.rs
@@ -26,7 +26,7 @@
26
//! Here is an example of how to create an asynchronous client.
27
//!
28
//! ```no_run
29
-//! # #[cfg(feature = "async")]
+//! # #[cfg(all(feature = "async", feature = "tokio"))]
30
//! # {
31
//! use esplora_client::Builder;
32
//! let builder = Builder::new("https://blockstream.info/testnet/api");
@@ -1036,7 +1036,7 @@ mod test {
1036
#[test]
1037
fn use_with_custom_runtime() {
1038
let builder =
1039
- Builder::<TestRuntime>::new_with_runtime("https://blockstream.info/testnet/api");
+ Builder::<TestRuntime>::new_custom_runtime("https://blockstream.info/testnet/api");
1040
1041
let client = builder.build_async();
1042
assert!(client.is_ok());
0 commit comments