Rename internal esplora modules, fix docs

This commit is contained in:
Alekos Filini 2022-09-29 11:59:21 +02:00
parent b5b92248c7
commit b11c86d074
No known key found for this signature in database
GPG Key ID: 431401E4A4530061
3 changed files with 6 additions and 6 deletions

View File

@ -15,22 +15,22 @@
//! depending on your needs (blocking or async respectively).
//!
//! Please note, to configure the Esplora HTTP client correctly use one of:
//! Blocking: --features='esplora,ureq'
//! Async: --features='async-interface,esplora,reqwest' --no-default-features
//! Blocking: --features='use-esplora-blocking'
//! Async: --features='async-interface,use-esplora-async' --no-default-features
pub use esplora_client::Error as EsploraError;
#[cfg(feature = "use-esplora-async")]
mod reqwest;
mod r#async;
#[cfg(feature = "use-esplora-async")]
pub use self::reqwest::*;
pub use self::r#async::*;
#[cfg(feature = "use-esplora-blocking")]
mod ureq;
mod blocking;
#[cfg(feature = "use-esplora-blocking")]
pub use self::ureq::*;
pub use self::blocking::*;
/// Configuration for an [`EsploraBlockchain`]
#[derive(Debug, serde::Deserialize, serde::Serialize, Clone, PartialEq)]