Files
Jason RasmussenandCodex 11900d5a8c chore: add CLAUDE.md (#32801)
* chore: add CLAUDE.md

* chore: pr feedback

* chore: contributing guideline rules

* chore: pr feedback

(cherry picked from commit fc30140e6ec313c94405e7ca4fbab8096dc1c6c7)
2026-10-31 07:22:45 +03:00
..
2026-10-24 11:52:05 +03:00
2026-10-24 11:52:05 +03:00
2026-10-31 07:22:45 +03:00
2026-10-24 11:52:05 +03:00
2026-10-24 11:52:05 +03:00

Native core

Rust code that ships inside the mobile app. Flutter compiles it from source through the native_core build hook, so building the app needs a Rust toolchain: mise install in mobile/ sets one up, otherwise install rustup once and the build fetches the pinned toolchain itself.

  • crates/codecs: the image decoders, a feature each, behind one decode
  • crates/native_core: the shared logic, a feature per part and a group per target
  • crates/native_core_ffi: the C ABI on the flutter group, cbindgen writes include/native_core.h
  • native_core: Flutter package with the build hook and the ffigen bindings (NOTICES carries the licenses of the crates compiled into the core, update it with the dependencies)

mise run build, test, lint, and fmt. The header and the Dart bindings come from mise run //mobile:codegen:native.