1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! # readwhitepaper
//!
//! Rust client for the ReadWhitepaper blockchain whitepaper database API.
//!
//! 30 cryptocurrency whitepapers with section-level content, 163 glossary terms,
//! full-text search, and 3,458 translations across 15 languages.
//!
//! ## Quick Start
//!
//! ```no_run
//! use readwhitepaper::ReadWhitepaperClient;
//!
//! #[tokio::main]
//! async fn main() -> Result<(), readwhitepaper::Error> {
//! let client = ReadWhitepaperClient::new();
//!
//! // List all whitepapers
//! let whitepapers = client.list_whitepapers(None, None, None).await?;
//! for wp in &whitepapers.results {
//! println!("{} โ {} ({})", wp.crypto.ticker, wp.authors[0], wp.year);
//! }
//!
//! // Get Bitcoin whitepaper with sections
//! let bitcoin = client.get_whitepaper("bitcoin", None).await?;
//! for section in &bitcoin.sections {
//! println!("ยง{}: {}", section.section_number, section.heading_text);
//! }
//!
//! Ok(())
//! }
//! ```
pub use ;
pub use *;