[package]
name = "ds4-server"
version = "0.1.0"
edition = "2024"
rust-version = "1.97"
description = "A native macOS coding-agent GUI for DwarfStar"
license = "MIT"
publish = false
build = "build.rs"

[build-dependencies]
cc = "1.3.0"

[dependencies]
diesel = { version = "2.3.11", features = ["sqlite", "returning_clauses_for_sqlite_3_35", "64-column-tables"] }
diesel_migrations = "2.3.2"
iced = { version = "0.13.1", features = ["advanced", "highlighter", "markdown", "svg", "tokio"] }
memmap2 = "0.9.11"
png = "0.17.16"
rfd = "0.15.4"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = { version = "1.0.149", features = ["preserve_order", "raw_value"] }
serde_norway = "0.9.42"
sha2 = "0.11.0"
ureq = { version = "3.3.0", default-features = false, features = ["rustls"] }

[target.'cfg(target_os = "macos")'.dependencies]
muda = "0.15.3"

[package.metadata.packager]
product-name = "DS4Server"
identifier = "de.rfc1437.ds4server"
description = "A native macOS coding-agent GUI for DwarfStar"
binaries = [{ path = "ds4-server", main = true }]
icons = ["assets/DS4Server.icns", "assets/app-icon.png"]
resources = ["metal"]

[package.metadata.packager.macos]
minimum-system-version = "13.0"
