Open kkettinger opened 1 year ago
I'm currently blocked on this exact problem. Would be nice if we could get this merged.
You need to update Cargo.lock
as well, otherwise cargo install --locked
won't work.
While you're at it, bumping up to cargo 0.73
and itertools 0.11
might be a good idea.
Sorry for the late response. I could update the dependency of cargo
to 0.74.0
, newer versions break the build (same with git2 0.18.2
). I've also updated itertools
to 0.11
. Please check and approve.
One thought: should we confine ourselves to the meta-rust MSRV? -Since the latest Cargo version corresponds to +/- the latest MSRV, certain features might not function properly when using the bitbake-generated recipe.
EDITED: This PR follows the changes outlined in https://github.com/meta-rust/cargo-bitbake/pull/61/files. @kkettinger, according to the dependencies requirements, we should update the MSRV in this PR too.
Isn't the current meta-rust at 1.75 though? I have started work on updating to latest possible dependencies, and it does seem to work, although the MSRV is 1.75.
Wasn't able to test extensively yet, but the changes were minimal. At least it compiles and generates recipes, but I wasn't able to check if the generated recipes work. I'll have a PR up shortly.
I'm not familiar with what other's working environments are, but for me the version of Rust installed on the development machine is decoupled from the version in our image, so having cargo-bitbake require 1.75 is a non-issue.
Created #75
Updating cargo and git2 to the latest version fixes issue #69.