[package]
name = "caldir-provider-google"
version = "0.7.1"
edition = "2024"
description = "Google Calendar provider for caldir-cli"
license.workspace = true
repository.workspace = true
homepage.workspace = true
keywords = ["calendar", "google", "ics", "sync"]
categories = ["command-line-utilities"]

[[bin]]
name = "caldir-provider-google"
path = "src/main.rs"

[dependencies]
# Shared types
caldir-core = { path = "../caldir-core", version = "0.11.1" }

# Async runtime
tokio = { version = "1", features = ["full"] }

# Google Calendar API client
google-calendar = "0.10"

# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "1"

# HTTP client (for hosted OAuth refresh via caldir.org)
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }

# Error handling
anyhow = "1"

# Async trait dispatch
async-trait = "0.1"

# Date/time
chrono = { version = "0.4", features = ["serde"] }
chrono-tz = "0.10"

# Open URLs in browser
open = "5"

# URL parsing
url = "2"

[dev-dependencies]
tempfile = "3"
