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,6 +1,6 @@
use std::{env, error::Error};
use google_genai::prelude::{
use geologia::prelude::{
Content, FunctionDeclaration, FunctionResponse, GeminiClient, GenerateContentRequest, Part,
PartData, Role, Tools,
};

View File

@@ -1,6 +1,6 @@
use std::{env, error::Error};
use google_genai::prelude::{Content, GeminiClient, GenerateContentRequest, Role};
use geologia::prelude::{Content, GeminiClient, GenerateContentRequest, Role};
use tokio_stream::StreamExt;
#[tokio::main]

View File

@@ -1,6 +1,6 @@
use std::{env, error::Error};
use google_genai::prelude::{Content, GeminiClient, GenerateContentRequest, Role};
use geologia::prelude::{Content, GeminiClient, GenerateContentRequest, Role};
#[tokio::main]
async fn main() -> Result<(), Box<dyn Error>> {

View File

@@ -1,6 +1,6 @@
use std::{env, error::Error, io::Cursor};
use google_genai::prelude::{
use geologia::prelude::{
GeminiClient, PersonGeneration, PredictImageRequest, PredictImageRequestParameters,
PredictImageRequestParametersOutputOptions, PredictImageRequestPrompt,
PredictImageSafetySetting,

View File

@@ -1,6 +1,6 @@
use std::env;
use google_genai::{
use geologia::{
network::event_source::EventSource,
prelude::{Content, GenerateContentRequest, Role},
};