gemini-rs 1.2.0

A library to interact with the Google Gemini API
Documentation
1
2
3
4
5
6
7
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let client = gemini_rs::Client::instance();
    let models = client.models().await?;
    println!("{models:#?}");
    Ok(())
}