[package]
name = "ec-tauri"
version = "0.0.0"
edition.workspace = true
license.workspace = true

[dependencies]
anyhow.workspace = true
axum = "0.7"
blake3.workspace = true
ec-crypto = { path = "../../crates/ec-crypto" }
ec-core = { path = "../../crates/ec-core" }
ec-chopper = { path = "../../crates/ec-chopper" }
ec-eth = { path = "../../crates/ec-eth" }
ec-hdhomerun = { path = "../../crates/ec-hdhomerun" }
ec-linux-iptv = { path = "../../crates/ec-linux-iptv" }
ec-iroh = { path = "../../crates/ec-iroh" }
ec-moq = { path = "../../crates/ec-moq" }
headless_chrome = "1"
hex = "0.4"
iroh = "0.96"
reqwest = { version = "0.12", default-features = false, features = ["blocking", "rustls-tls"] }
serde.workspace = true
serde_json = "1"
tauri = { version = "2", features = [] }
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
tower-http = { version = "0.5", features = ["fs"] }
tracing.workspace = true

[target.'cfg(target_os = "macos")'.dependencies]
block2 = "0.6"
objc2 = "0.6"
objc2-app-kit = { version = "0.3", features = ["NSBitmapImageRep", "NSImage"] }
objc2-core-foundation = "0.3"
objc2-foundation = { version = "0.3", features = ["NSData", "NSDictionary", "NSError", "NSString"] }
objc2-web-kit = { version = "0.3", features = ["WKSnapshotConfiguration", "WKWebView", "block2", "objc2-app-kit"] }

[build-dependencies]
tauri-build = { version = "2", features = [] }

[features]
custom-protocol = ["tauri/custom-protocol"]
