trotter 0.2.1

Trotter 🎠 is an experimental crate that aims to make writing Gemini clients fun and easy.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use trotter::{Actor, UserAgent};

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    Actor::default()
        .user_agent(UserAgent::Indexer)
        .get("catboomer.net") // <- Points at a site that denies all robot traffic
        .await?;

    Ok(())
}