Skip to content

tg-ws-proxy-rs v2.3.2

Choose a tag to compare

@github-actions github-actions released this 30 Aug 10:45
· 2 commits to main since this release
e970a46

Android build reproducibility improvements, F-Droid metadata alignment, and
toolchain pinning fixes across CI and release workflows.

Why

F-Droid builds packages in an isolated Debian buildserver environment and
verifies byte-level reproducibility against developer-provided binaries.
Aligning toolchains, strip passes, path remappings, and per-ABI version codes
allows F-Droid and GitHub Actions to produce bit-for-bit identical APKs.

Changes

  • Reproducible Android native libraries:
    • Pinned the Android NDK version (28.1.13356709) across the Gradle version
      catalog, GitHub workflows, and convention plugins.
    • Placed fixed path remapping (--remap-path-prefix) in .cargo/config.toml
      for Android targets so Cargo builds retain no host-dependent source paths.
  • Per-ABI version codes:
    • Added package.metadata.android.version_code to Cargo.toml as the base
      version code (203010), wired to per-ABI offsets (+0 universal, +1
      armeabi-v7a, +2 arm64-v8a, +3 x86_64).
  • Toolchain pinning consistency:
    • Unified all stable Rust CI and release jobs to read rust-toolchain.toml
      directly without third-party action dependencies.
    • Included rust-toolchain.toml in the Docker build context.
  • Workflow simplification:
    • Removed post-test emulator APK hash assertions in favor of straightforward
      instrumentation test verification and crash reporting.