bitcoind_async_client/lib.rs
1//! BitcoinD JSON-RPC Async Client
2//!
3//! # Features
4//!
5//! - `29_0`: Enable support for Bitcoin Core v29
6//!
7//! # Usage
8//!
9//! ```rust,ignore
10//! use bitcoind_async_client::Client;
11//!
12//! let client = Client::new("http://localhost:8332".to_string(), "username".to_string(), "password".to_string(), None, None, None).await?;
13//!
14//! let blockchain_info = client.get_blockchain_info().await?;
15//! ```
16//!
17//! # License
18//!
19//! This work is dual-licensed under MIT and Apache 2.0.
20//! You can choose between one of them if you use this work.
21
22pub mod client;
23pub mod error;
24pub mod traits;
25
26pub mod types;
27
28pub use corepc_types;
29
30pub use client::*;
31
32// v29
33#[cfg(feature = "29_0")]
34pub use client::v29;
35
36#[cfg(test)]
37pub mod test_utils;