This review is from cargo-vet. To add your review, set up cargo-vet and submit your URL to its registry.

The current version of ort-sys is 2.0.0-rc.2.

2.0.0-rc.0 (older version) safe-to-deploy

From bytecodealliance/wasmtime. By Andrew Brown.

As expected, this crate contains a significant number of unsafe definitions to expose the FFI surface of the ONNX libraries. Perhaps surprisingly, it also contains some unsafe system calls to locate the user's home directory. Another interesting bit is the build.rs script: with the download-binaries feature enabled, this script will retrieve and link various ONNX libraries from https://parcel.pyke.io. This seems par for the course with this kind of library, though; the alternative--attempting to find the library on an arbitrary system--can be quite complex.

cargo-vet does not verify reviewers' identity. You have to fully trust the source the audits are from.

safe-to-deploy (implies safe-to-run)

This crate will not introduce a serious security vulnerability to production software exposed to untrusted input. More…

safe-to-run
Implied by other criteria

This crate can be compiled, run, and tested on a local workstation or in controlled automation without surprising consequences. More…


Lib.rs has been able to verify that all files in the crate's tarball are in the crate's repository. Please note that this check is still in beta, and absence of this confirmation does not mean that the files don't match.

Crates in the crates.io registry are tarball snapshots uploaded by crates' publishers. The registry is not using crates' git repositories, so there is a possibility that published crates have a misleading repository URL, or contain different code from the code in the repository.

To review the actual code of the crate, it's best to use cargo crev open ort-sys. Alternatively, you can download the tarball of ort-sys v2.0.0-rc.2 or view the source online.