1 2 3 4 5 6 7 8 9 10 11 12 13 14
use anyhow::Result; use ctlog::CTLogV1; #[tokio::main] async fn main() -> Result<()> { let ctlog = CTLogV1::new("https://ct.trustasia.com/log2023/")?; let sth = ctlog.get_sth().await?; println!("{:#?}", sth); Ok(()) }