Rename crates to neutral dac-* codename and binaries to app/app-cli

Mechanical rename right after the fork so upstream merges map cleanly.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Andrew Frahn
2026-10-10 09:43:50 +11:00
co-authored by Claude Opus 5.5
parent 88ea1a804b
commit fb097d61be
411 changed files with 4008 additions and 4199 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
[package]
name = "lightcraft-develop"
name = "dac-develop"
version.workspace = true
edition.workspace = true
license.workspace = true
@@ -9,8 +9,8 @@ description = "LightCraft develop settings: the non-destructive edit model, cont
workspace = true
[dependencies]
lightcraft-geom = { workspace = true }
lightcraft-color = { workspace = true }
dac-geom = { workspace = true }
dac-color = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
miniz_oxide = { workspace = true }
+1 -8
View File
@@ -145,14 +145,7 @@ mod tests {
name: None,
op: MaskOp::Add,
invert: false,
shape: MaskShape::Radial {
center: lightcraft_geom::Point::new(0.5, 0.5),
rx: 0.2,
ry: 0.1,
angle: 10.0,
feather: 50.0,
invert: false,
},
shape: MaskShape::Radial { center: dac_geom::Point::new(0.5, 0.5), rx: 0.2, ry: 0.1, angle: 10.0, feather: 50.0, invert: false },
}],
..Default::default()
});
+1 -1
View File
@@ -8,7 +8,7 @@ const SCALE: f32 = 8.0;
/// Largest grid a stored segmentation may claim (hostile input caps the allocation).
pub const MAX_SIDE: usize = 1024;
/// A segmentation computed by a model (SAM 3 in `lightcraft-segment`): `side × side` logits
/// A segmentation computed by a model (SAM 3 in `dac-segment`): `side × side` logits
/// over the uncropped, oriented image stretched to a square (row `y`, column `x` covers
/// normalized `((x + 0.5) / side, (y + 0.5) / side)`), quantized to `i8`, deflated and base64
/// encoded. Coverage at a point is the sigmoid of the bilinearly sampled logit, so edges stay
+2 -2
View File
@@ -1,7 +1,7 @@
//! The develop settings schema. Every field has a neutral default; serde uses `#[serde(default)]` so
//! older/newer files load (unknown fields are ignored, missing fields take defaults).
use lightcraft_geom::{CropGeometry, Homography, Orientation, Point};
use dac_geom::{CropGeometry, Homography, Orientation, Point};
use serde::{Deserialize, Serialize};
pub const SCHEMA_VERSION: u32 = 1;
@@ -547,7 +547,7 @@ impl Default for Optics {
/// Lens corrections embedded in the file, converted to the oriented, default-cropped image: a DNG's `OpcodeList3`
/// (`WarpRectilinear`, `FixVignetteRadial`), or a raw reader's equivalent of the camera's own correction (Panasonic /
/// Leica RW2 distortion, `lightcraft_raw`'s `vendor/rw2.rs`). This is camera/file data (stored on the photo record, not in the develop
/// Leica RW2 distortion, `dac_raw`'s `vendor/rw2.rs`). This is camera/file data (stored on the photo record, not in the develop
/// settings); "Enable Profile Corrections" applies it, scaled by the profile distortion/vignetting amounts.
/// LightCraft never uses Adobe LCP lens profiles.
#[derive(Clone, Copy, Debug, Default, PartialEq, Serialize, Deserialize)]