[package]
name = "driftwood"
version = "0.1.0"
edition = "2021"
license = "CC0-1.0"

[dependencies]
gtk = { version = "0.11", package = "gtk4", features = ["v4_16"] }
adw = { version = "0.9", package = "libadwaita", features = ["v1_7"] }
glib = "0.22"
gio = "0.22"

# Database
rusqlite = { version = "0.33", features = ["bundled"] }

# CLI
clap = { version = "4", features = ["derive"] }

# File hashing
sha2 = "0.10"

# Time
chrono = "0.4"

# XDG directories
dirs = "6"

# Human-readable sizes
humansize = "2"

# HTTP client (sync, lightweight - for update checks)
ureq = { version = "3", features = ["json"] }

# JSON parsing
serde = { version = "1", features = ["derive"] }
serde_json = "1"

# Logging
log = "0.4"
env_logger = "0.11"

# Temp directories (for AppImage extraction)
tempfile = "3"

# XML parsing (for AppStream metainfo)
quick-xml = "0.37"

# Desktop notifications
notify-rust = "4"

# File system watching (inotify)
notify = "7"

# Markdown parsing (for GitHub README rendering)
pulldown-cmark = "0.12"

[build-dependencies]
glib-build-tools = "0.22"
