meta-rust / cargo-bitbake

cargo extension that can generate BitBake recipes utilizing the classes from meta-rust
Apache License 2.0
83 stars 57 forks source link

Update cargo and git2 to latest version #70

Open kkettinger opened 1 year ago

kkettinger commented 1 year ago

Updating cargo and git2 to the latest version fixes issue #69.

hardliner66 commented 1 year ago

I'm currently blocked on this exact problem. Would be nice if we could get this merged.

jaskij commented 1 year ago

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.

kkettinger commented 6 months ago

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.

IniterWorker commented 4 months ago

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.

jaskij commented 4 months ago

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.

jaskij commented 4 months ago

Created #75