Make WASI-NN classes send and/or sync (#5077)

* Make send and remove wrapper around WasiNnCtx·

This removes the wrapper around WasiNnCtx and no longer requires borrow_mut(). Once send/sync
changes in OpenVINO crate are merged in it will allow·use by frameworks that requires this trait.

* Bump openvino to compatible version.

* BackendExecutionContext should be Send and Sync

* Fix rust format issues.

* Update Cargo.lock for openvino

* Audit changes to openvino crates.
This commit is contained in:
Matthew Tamayo-Rios
2022-10-28 00:52:23 +02:00
committed by GitHub
parent 2702619427
commit f082756643
7 changed files with 43 additions and 38 deletions

View File

@@ -550,10 +550,6 @@ criteria = "safe-to-run"
version = "0.3.0"
criteria = "safe-to-deploy"
[[exemptions.openvino]]
version = "0.4.1"
criteria = "safe-to-deploy"
[[exemptions.openvino-finder]]
version = "0.4.1"
criteria = "safe-to-deploy"