docs/ had 26 developer documents flat beside the manual, and the two audiences are very differently sized: most readers want the manual and the gesture reference, a few want the register, the designs and the measurements. The manual and gestures.md stay at the top; everything for someone changing the code moves to docs/dev/, and the two documents that name their own successors — the v0.1 milestone and the UI-refinement plan — go to docs/dev/archive/ rather than being deleted, since both are still cited. docs/README.md is the index, users first. Every reference follows: code comments, Cargo manifests, the workflows, the pre-commit hook, the bench and traceability tools (which locate the repo root by docs/dev/requirements.md now), packaging, the Docker READMEs, CLAUDE.md, CONTRIBUTING.md and the README. The matrix links one level deeper and is regenerated. Links out of the moved documents into the tree gain a level; a link checker over every Markdown file finds none broken.
39 lines
1.3 KiB
TOML
39 lines
1.3 KiB
TOML
[package]
|
|
name = "dr-pano"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
# Guards against a Git LFS pointer being embedded in place of the weights.
|
|
build = "build.rs"
|
|
|
|
[dependencies]
|
|
thiserror.workspace = true
|
|
log.workspace = true
|
|
|
|
# Inference for the learned keypoint detector, on the same footing as
|
|
# `dr-segment`: `ort` is the API, `dr-inference-engine` decides what runs
|
|
# it (docs/dev/inference.md), and both are optional so that the geometry —
|
|
# matching, the rotation solve, the projections — is a dependency-free crate
|
|
# that tests without a model.
|
|
ort = { workspace = true, optional = true }
|
|
dr-inference-engine = { workspace = true, optional = true }
|
|
ndarray = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
# The example aligns real frames from their embedded previews.
|
|
dr-decode.workspace = true
|
|
dr-types.workspace = true
|
|
env_logger.workspace = true
|
|
|
|
[features]
|
|
default = ["xfeat", "embedded-model"]
|
|
|
|
# The XFeat detector (FR-MRG-8) and the MI-GAN filler (FR-MRG-4). Off, the
|
|
# crate has no model and no runtime — a build that only wants the geometry.
|
|
xfeat = ["dep:ort", "dep:dr-inference-engine", "dep:ndarray"]
|
|
|
|
# Compile the weights into the binary, for the same reason `dr-segment` does:
|
|
# Android hands the app no path to read a model from (ARCH §6.9).
|
|
embedded-model = ["xfeat"]
|