A camera raw with no matrix of its own was saved as a linear DNG that other raw tools refused.
55 lines
2.3 KiB
TOML
55 lines
2.3 KiB
TOML
[package]
|
|
name = "photoreport-desktop"
|
|
version = "0.3.24"
|
|
edition = "2024"
|
|
publish = false
|
|
description = "PhotoReport desktop: the web app in a native shell, with keychain sign-in and (later) local FTP and the native engine."
|
|
|
|
[lib]
|
|
name = "photoreport_desktop_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2", features = [] }
|
|
|
|
[dependencies]
|
|
tauri = { version = "2", features = [] }
|
|
tauri-plugin-opener = "2"
|
|
keyring = { version = "3", features = ["apple-native", "windows-native", "sync-secret-service", "crypto-rust"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
rand = "0.8"
|
|
local-ip-address = "0.6"
|
|
dirs = "6"
|
|
chrono = { version = "0.4", default-features = false, features = ["clock"] }
|
|
libunftp = { version = "0.23.1", default-features = false, features = ["ring"] }
|
|
unftp-sbe-fs = "0.4.0"
|
|
async-trait = "0.1"
|
|
tokio = { version = "1", features = ["sync", "time", "fs", "net", "io-util"] }
|
|
unftp-core = "0.1.0"
|
|
serde_json = "1"
|
|
sha2 = "0.10"
|
|
libc = "0.2"
|
|
image = { version = "0.25", default-features = false, features = ["jpeg"] }
|
|
# Capture time and filmstrip thumbnails. The embedded-preview feature reads the camera JPEG; the browser build leaves it off.
|
|
photoreport-engine = { path = "../../../engine/core", features = ["embedded-preview", "photo-merge"] }
|
|
photoreport-faces = { path = "../../../workers/faces" }
|
|
tauri-plugin-dialog = "2"
|
|
tauri-plugin-updater = "2"
|
|
# New versions of the interface (see src/ui.rs). Already built for the updater: same versions, no new crates.
|
|
reqwest = { version = "0.13", default-features = false, features = ["rustls-no-provider"] }
|
|
rustls = { version = "0.23", default-features = false, features = ["ring"] }
|
|
# Apple Silicon only: the published ONNX Runtime build with Core ML exists for that chip.
|
|
# It is linked into the app, so Intel Macs simply keep the CPU interpreter.
|
|
[target.'cfg(all(target_os = "macos", target_arch = "aarch64"))'.dependencies]
|
|
ort = { version = "=2.0.0-rc.14", default-features = false, features = ["std", "download-binaries", "copy-dylibs", "api-31", "tls-native", "coreml"] }
|
|
|
|
# Release builds: no symbols or debug info, whole-program optimisation, no unwinding tables. The binary only tells
|
|
# a disassembler what machine code does, not what the functions were called.
|
|
[profile.release]
|
|
opt-level = 3
|
|
lto = "fat"
|
|
codegen-units = 1
|
|
panic = "abort"
|
|
strip = true
|
|
debug = false
|