Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
translate ▾

Modern-Apps.git / camera / src / main / rust / Cargo.toml

Cargo.toml28 lines · 1.4 KiBRaw
1[package]
2name = "camera_stitch"
3version = "0.1.0"
4edition = "2021"
5description = "Feature-based panorama stitcher + night burst aligner for the camera app, armv8-only stdlib"
6license = "GPL-2.0-only"
7
8[lib]
9name = "camera_stitch"
10crate-type = ["cdylib", "rlib"]
11
12[dependencies]
13jni.workspace = true
14jni_bridge = { path = "../../../../library/jni-bridge/src/main/rust" }
15# Shared CV primitives (linalg / imgbuf / features / geometry / camera) now live in
16# library/vision/src/main/rust so measure's VIO engine can reuse them. The `jpeg`
17# feature keeps Rgba::from_jpeg available for the panorama pipeline.
18vision_core = { path = "../../../../library/vision/src/main/rust", features = ["jpeg"] }
19# image crate 0.25 removed – pulled moxcms/pxfm/bytemuck; now jpeg-decoder + jpeg-encoder (trivial 1-function)
20jpeg-decoder.workspace = true
21jpeg-encoder.workspace = true
22ravif.workspace = true
23# nalgebra removed – replaced by a tiny in-crate linalg module (src/linalg.rs):
24# fixed 3×3 Matrix3/Vector3, closed-form inverse, Jacobi symmetric-eigen, SVD
25# (3×3 + dense DLT null-space), and partial-pivot LU solve. Drops ~9 transitive
26# crates (simba, wide, safe_arch, bytemuck, approx, paste, num-rational,
27# num-iter, nalgebra-macros).
28# rayon removed – was 6 crates (crossbeam-deque/epoch/utils/either/rayon-core) for par_iter in bundle/matching/stitch – now std iter (prefer stdlib)