Info
This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: Cargo update problem
Hi,
I am trying to update the version of a big project.
It uses 1.82.0 rust version to compile and some Cargo.toml with 2018 edition.
In a second time :
I create a project aside to test just this lib with the minimal example : GitHub - Relacibo/typst-as-lib: Easily use typst from rust.
It uses to works (rust version 1.86.0, edition 2024).
But today, I try to follow this command to update my project : Transitioning an existing project to a new edition - The Rust Edition Guide
After using cargo update
on my big project, I get some error that I use to not have before using typst-as-lib. So I go on my project aside with just the minimal sample of typst-as-lib. I type cargo update
to see... And now, it not works anymore.
So I have some question :
cargo update
? (I try to clean target and delete Cargo.lock, but seems not to be that).Am I wrong in my comprehension for a update ? And why, with no code change, the cargo update makes now my little project with only the main sample of typst-as-lib not working... ?
After reading other post, I was thinking we can mix package with different edition but we can only use one version of rust for the compilation...
A lot of text here, but I am confused a little...
2 posts - 2 participants
🏷️ Rust_feed