https://linen.dev logo
Dependencies not working after upgrade to 0.8.0
# help
k
Hi there, Unfortunately some of the crates are not working after an update for example axum-macros = "0.3.0", argon2 = "0.4.1" These crates are causing a crash in deploy Question by @hundreds-wolf-74410 in shuttle-general.
Hey! We updated some dependencies in our last update, did you update axum to 0.6?
Did you also update
cargo-shuttle
? Check with
cargo shuttle --version
h
Good afternoon
Hope you are well.
shuttle-service = { version = "0.8.0", features = ["web-axum"] } axum = "0.6.1" sync_wrapper = "0.1.1" shuttle-secrets = "0.8.0"
yes Indeed
apparently I do have 0.7.2
Let me I will try to update htis
this*
k
When did you create your project with
cargo shuttle project new
? To get the updated container, you'll need to do a
cargo shuttle project rm
followed by a
cargo shuttle project new
h
Ok will try, thank you
Are you based in London?
k
Shuttle is, but most of us are working remotely all over the place, I'm in Norway 🙂
h
Seems that the update of Cargo shuttle, along with the target removal has fixed my issue. Thanks a lot! I am from London.
Because of Axum update need to update 30 routes now
k
Haha, yeah, it's definitely not ideal 😅 We're gonna try to decouple our dependencies from the users, so they don't have to match and users become forced to update.
Here is a pretty good overview of the changes if you didn't see it:
h
Thanks a lot for your help! Much appreciated!