-
Precompiled NIF artifacts for common platforms via
rustler_precompiled. Consumers onaarch64-apple-darwin,x86_64-apple-darwin,x86_64-unknown-linux-gnu(glibc >= 2.35),aarch64-unknown-linux-gnu(glibc >= 2.35), andx86_64-pc-windows-msvcno longer need a Rust toolchain —mix deps.getdownloads a prebuilt NIF binary instead.onnxruntimeis statically linked into the artifact so there's no separate runtime install. -
ORTEX_BUILD=trueenvironment variable to force source compilation, useful for development, unsupported targets, or when building with a non-default execution-provider feature flag (cuda,tensorrt,coreml,directml). -
RELEASE.mddocuments the publish process — version bump, tag push, CI matrix, checksum-file regeneration, smoke-test, hex publish.
-
:rustleris now anoptionaldependency. Consumers using precompiled NIFs don't pull it in. -
:rustler_precompiledadded as a runtime dependency. -
lib/ortex/native.exbranches onORTEX_BUILDbetweenuse RustlerPrecompiled(default) anduse Rustler+ the legacycompile_crate/copy_ort_libsdance (source path). Both paths are tested in CI. -
New
.github/workflows/release.ymlbuilds a 5-target × 2 NIF-version matrix on tag push and uploads tarballs to a draft GitHub release.
If you've been pinning ortex at ~> 0.1.10 and your platform is in the supported precompile list above, upgrading to 0.1.11 will silently switch you from a 30-90s Rust build to a sub-second NIF download on every mix deps.compile. Behaviour is otherwise unchanged.
If your platform is not in the supported list, mix falls back to source build automatically — no action needed, but you'll keep needing a Rust toolchain. Consider opening an issue if your target should be added.
- Support Elixir 1.19 — switch to
Inspect.Algebra.to_docsyntax (#48 by @zentourist).
See git history.