[package]
name = "ironpad"
version = "0.2.0"
edition = "2021"

[dependencies]
# Web framework
axum = { version = "0.8", features = ["ws", "multipart"] }
tokio = { version = "1", features = ["full"] }
tower = "0.5"
tower-http = { version = "0.6", features = ["cors", "normalize-path", "fs"] }

# Browser opening (production mode)
webbrowser = "1.0"

# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"

# Markdown parsing (CommonMark)
markdown = "1.0.0-alpha.22"

# Git operations (vendored-openssl for cross-platform CI builds)
git2 = { version = "0.19", features = ["vendored-openssl"] }


# File system watching
notify = "6.1"
notify-debouncer-full = "0.3"

# Search (ripgrep internals)
grep = "0.3"
walkdir = "2.4"

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

# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

# WebSocket support
futures-util = "0.3"
uuid = { version = "1.0", features = ["v4"] }

# Utilities
lazy_static = "1.4"
tokio-util = { version = "0.7", features = ["io"] }

# System tray (production mode)
tray-item = "0.10"

# Windows icon loading (for tray icon)
[target.'cfg(target_os = "windows")'.dependencies]
windows-sys = { version = "0.52", features = ["Win32_UI_WindowsAndMessaging", "Win32_System_LibraryLoader"] }

# Build dependencies (Windows icon embedding)
[target.'cfg(target_os = "windows")'.build-dependencies]
winresource = "0.1"