Files
Immich/native
renovate[bot]andCodex d15be0dd83 chore(deps): update rust crate libc to v0.2.191 (#32753)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 12381a3b4bca8634f785c23cd4c6bf4063477b3b)
2026-10-27 23:12:52 +03:00
..
2026-10-24 11:52:05 +03:00
2026-10-24 11:52:05 +03:00
2026-10-24 11:52:05 +03:00
2026-10-24 11:52:05 +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/native_core: the shared logic
  • crates/native_core_ffi: the C ABI, 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.