Rename crate from google-genai to geologia

geologia is an anagram of "google ai", avoiding use of the "google" name
in the crate identifier while preserving the project's identity.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-18 07:42:39 +01:00
parent e2c0c67b17
commit 09e5d3d1f8
10 changed files with 75 additions and 92 deletions

View File

@@ -1,4 +1,4 @@
# google-genai
# geologia
A Rust client library for the Google Generative AI API.
@@ -30,14 +30,14 @@ To use this library in your own Rust application, add it as a dependency in your
```toml
[dependencies]
google-genai = "0.1.0" # Or the latest version
geologia = "0.1.0" # Or the latest version
```
Here is a basic example of how to use the `GeminiClient` to generate content:
```rust
use std::env;
use google_genai::prelude::{Content, GeminiClient, GenerateContentRequest, Role};
use geologia::prelude::{Content, GeminiClient, GenerateContentRequest, Role};
async fn run() -> Result<(), Box<dyn std::error::Error>> {
// Get the API key from the environment.