A note on SemVer

ort versions pre-2.0 were not SemVer compatible. From v2.0 onwards, breaking API changes are accompanied by a major version update.

Updates to the version of ONNX Runtime used by ort may occur on minor version updates, i.e. 2.0 ships with ONNX Runtime 1.17.3, but 2.1 may ship with 1.18.0. ONNX Runtime is generally forward compatible, but in case you require a specific version of ONNX Runtime, you should pin the minor version in your Cargo.toml using a tilde requirement:

[dependencies]
ort = { version = "~2.0", ... }

Versions of ONNX Runtime used by ort

ortONNX Runtime
v2.0.0+v1.17.3
v1.16.0-v1.16.2v1.16.0
v1.15.0-v1.15.5v1.15.1
v1.14.2-v1.14.8v1.14.1
v1.14.0-v1.14.1v1.14.0
v1.13.1-v1.13.3v1.13.1
v1.13.0v1.12.1