Hello,
This is more a Rust related issue, but thought I'd ask since I'm not having luck finding the answer. I'm creating a PR for the wasi-nn crate which updates the Cargo.toml to include the tensorflow rust binding crate. So basically I'm adding `tensorflow = "0.17.0" to the wasi-nn/Cargo.toml. However, this causes the Run cargo deny check bans licenses test to fail because it adds several duplicate lock entries. Anyone know how I can prevent the sub crates tensorflow uses from pulling in older versions of crates Wasmtime allready is using?
Looking closer it appears tensorflow-internal-macros is importing the older versions of proc-macro2, quote, and syn. I'm guessing this is a bug in the crate, but if you know of a way to fix this locally I'd appreciate the insite.
Anyone know how I can prevent the sub crates tensorflow uses from pulling in older versions of crates Wasmtime allready is using?
You can submit a PR to the tensorflow bindings to update the dependencies and then once a new version is released update to it.
Thanks, I did that. Its likely they are on holiday so might be a bit before it happens. So yeah, just looks like they didn't publish the version changes to crates.io, should be an easy fix.
Last updated: Nov 22 2024 at 17:03 UTC