[package]
name = "app"
version = "0.1.0"
description = "A Tauri App"
authors = ["you"]
license = ""
repository = ""
default-run = "app"
edition = "2021"
rust-version = "1.60"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "app_lib"
crate-type = ["staticlib", "cdylib", "lib"]
[build-dependencies]
tauri-build = { version = "2.5", features = [] }
[dependencies]
serde_json = "1.0.128"
serde = { version = "1.0.210", features = ["derive"] }
tauri = { version = "2.10", features = ["devtools"] }
tauri-plugin-shell = "2"
tauri-plugin-deep-link = "2"
tauri-plugin-dialog = "2"
tauri-plugin-fs = "2"
tokio = { version = "1.40.0", features = ["full"] }
uhash-core = "0.5.1"
uhash-prover = { version = "0.5.1", default-features = false, features = ["cpu"] }
hex = "0.4"
dirs = "5.0.1"
# Desktop-only dependencies (CozoDB, warp server)
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
reqwest = { version = "0.12.7", features = ["blocking", "json"] }
futures = "0.3"
cozo = { version = "0.7.6", features = ["storage-rocksdb"] }
warp = "0.3.7"
[profile.release]
lto = "fat"
codegen-units = 1
opt-level = 3
[features]
custom-protocol = ["tauri/custom-protocol"]
gpu-metal = ["uhash-prover/gpu-metal"]
gpu-cuda = ["uhash-prover/gpu-cuda"]
gpu-wgpu = ["uhash-prover/gpu-wgpu"]