gemini-rs

Crates.iogemini-rs
lib.rsgemini-rs
version2.0.0
created_at2024-10-30 20:57:06.119097+00
updated_at2025-06-11 04:47:12.484676+00
descriptionA library to interact with the Google Gemini API
homepagehttps://github.com/Shuflduf/gemini-rs
repositoryhttps://github.com/Shuflduf/gemini-rs
max_upload_size
id1429190
size107,153
Shuflduf (Shuflduf)

documentation

README

STILL A WIP

A library to use Google Gemini's API directly in Rust! Made because the current options weren't very capable and didn't support 100% of the official API.

Example

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    println!(
        "{}",
        gemini_rs::chat("gemini-2.0-flash")
            .send_message("Explain how AI works")
            .await?
    );
    Ok(())
}
Commit count: 125

cargo fmt