[package] name = "dr-ingest" version.workspace = true edition.workspace = true rust-version.workspace = true license.workspace = true [dependencies] dr-types.workspace = true # The `Storage` and `WritableStorage` traits. An import reads a real card and # writes a real destination, and this is how `core/` reaches the platform # without a `#[cfg(target_os)]` of its own (ARCH §4.1) — the same dependency # `dr-catalog` takes, for the same reason. dr-plat.workspace = true thiserror.workspace = true log.workspace = true # Content hashing: copy verification (FR-CAT-10) and the second duplicate tier # (FR-CAT-11). Pure Rust, no C, so it cross-compiles under the NDK like every # other choice in this tree — and it is already in the lock file as a # transitive dependency, so it costs no new build. # # SHA-256 rather than a fast non-cryptographic hash, which would be sufficient # for verifying a copy: the digest is *stored* and compared across devices and # across years, so it wants to be a named standard someone can recompute with # `sha256sum` rather than whatever we happened to implement. sha2 = "0.10" [dev-dependencies] env_logger.workspace = true