Add anthropic.rs with complete Claude API integration: - AnthropicClient with builder pattern configuration - Message types (Role, ContentBlock, Tool, etc.) - Non-streaming message() method with retry logic - Streaming message_stream() with SSE parsing - Comprehensive error types (AuthError, RateLimited, ApiError) - Exponential backoff for transient errors - 8 unit tests for client and parsing Dependencies added: reqwest (with stream), futures Closes #19 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
22 lines
594 B
TOML
22 lines
594 B
TOML
[package]
|
|
name = "miyabi-core"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
homepage.workspace = true
|
|
description = "Miyabi Core - Shared types and utilities"
|
|
|
|
[dependencies]
|
|
tokio = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true }
|
|
chrono = { workspace = true }
|
|
uuid = { workspace = true }
|
|
reqwest = { workspace = true }
|
|
futures = { workspace = true }
|