mirror of
https://github.com/storytold/lightcraft.git
synced 2026-11-09 18:10:13 -06:00
- brand.toml is the only place the product name lives; every crate and app
reads it through dac-brand (env vars with legacy fallback, settings folder
with copy-only migration, default library, preset extensions, i18n {app})
- cargo xtask brand check|test, run|install|package, docs, rename-crates,
deny and immich; packaging files are templates rendered from brand.toml
- icons regenerated from brand/icon.svg; upstream branding removed
- MIT licence (segment and fetch stay Apache-2.0); cargo deny licence policy
- clean-room rules in AGENTS.md/CLAUDE.md; docs/upstream-merge.md
- plan/ rebuilt and committed; parity tracker reopens Classic rows, adds
PLAN.md section 2 rows and the IMM Immich section; plan/immich.md and a
pinned Immich test server
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
46 lines
1.2 KiB
TOML
46 lines
1.2 KiB
TOML
[package]
|
|
name = "dac-app"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
publish = false
|
|
default-run = "app"
|
|
|
|
[[bin]]
|
|
name = "app"
|
|
path = "src/main.rs"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
default = ["denoise"]
|
|
denoise = ["dac-engine/denoise"]
|
|
rawnind-model = ["denoise", "dac-engine/rawnind-model"]
|
|
# Open HEIC/HEIF photos (the optional dac-heif crate). Not default so distributors choose
|
|
# it (HEVC patents); build with `--features heif` to include it.
|
|
heif = ["dac-codecs/heif"]
|
|
|
|
[dependencies]
|
|
dac-brand = { workspace = true }
|
|
dac-engine = { workspace = true, features = ["sam"] }
|
|
dac-sysmem = { workspace = true }
|
|
dac-ui-egui = { workspace = true }
|
|
dac-codecs = { workspace = true }
|
|
dac-raster = { workspace = true }
|
|
eframe = { workspace = true, features = ["default_fonts", "wgpu", "accesskit", "wayland", "x11"] }
|
|
egui = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
log = { workspace = true }
|
|
|
|
[build-dependencies]
|
|
# Icon + VERSIONINFO for the desktop executable; build.rs only uses it when targeting Windows.
|
|
dac-brand = { workspace = true }
|
|
winresource = "0.1"
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
rfd = { workspace = true }
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
muda = { workspace = true }
|