genai-rs 0.7.2

A Rust client library for Google's Generative AI (Gemini) API with streaming, function calling, and multi-turn conversations
Documentation
.PHONY: check fmt clippy test test-all docs clean

# Pre-push gate: format check + lint + unit tests
check: fmt clippy test

# Check formatting
fmt:
	cargo fmt --all -- --check

# Lint with warnings as errors
clippy:
	cargo clippy --workspace --all-targets --all-features -- -D warnings

# Unit tests only (doctests run in CI - excluded locally for speed)
test:
	cargo nextest run

# Full test suite including integration tests (requires GEMINI_API_KEY)
# Doctests excluded locally - they add compile overhead and CI catches them
test-all:
	cargo nextest run --run-ignored all

# Build documentation with warnings as errors
docs:
	RUSTDOCFLAGS="-D warnings" cargo doc --workspace --no-deps --document-private-items

# Clean build artifacts
clean:
	cargo clean