35 lines
859 B
TOML
35 lines
859 B
TOML
[package]
|
|
name = "auth-manager"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
description = "Unified authentication manager for LLM providers with OAuth and token refresh"
|
|
|
|
[dependencies]
|
|
# Credential storage
|
|
credentials = { path = "../credentials" }
|
|
|
|
# LLM provider types (AuthMethod, OAuthProvider, etc.)
|
|
llm-core = { path = "../../llm/core" }
|
|
|
|
# Provider-specific OAuth implementations
|
|
llm-anthropic = { path = "../../llm/anthropic" }
|
|
llm-openai = { path = "../../llm/openai" }
|
|
|
|
# Async runtime for OAuth flows and token refresh
|
|
tokio = { version = "1", features = ["time", "sync", "rt", "macros"] }
|
|
|
|
# Error handling
|
|
thiserror = "2"
|
|
|
|
# Logging
|
|
tracing = "0.1"
|
|
|
|
# Browser opening for OAuth
|
|
open = "5"
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
|
|
tempfile = "3"
|