https://linen.dev logo
Error when trying to update to `chrono 0.4.23`
# help
l
Here's the error message, does shuttle need me to stay at
0.4.22
? Or is something else going on?
Copy code
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: CargoMetadata { stderr: "    Updating crates.io index 

error: failed to select a version for `chrono`.    ... required by package `shuttle-service v0.7.2`    ... which satisfies dependency `shuttle-service = \"^0.7.2\"` of package `my-package v0.1.0 

`versions that meet the requirements `=0.4.22` are: 0.4.22 all possible versions conflict with previously selected packages.  previously selected package `chrono v0.4.23`\n    ... which satisfies dependency `chrono = \"^0.4.23\"` of package `my-package v0.1.0 `failed to select a version for `chrono` which could resolve this conflict" }', /.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-shuttle-0.7.2/src/config.rs:239:10
Thanks!
b
yes, shuttle seems to require exactly version 0.4.22 of chrono
l
Gotcha. Hopefully that doesn't have to be a hard requirement in the future. Maybe a team member could let us know if there are plans to either update Chrono or let us use our own version
b
Yes would be great
k
Yeah, sorry about that, it will be fixed in the next release. There were some deprecations in 4.23 we had to replace. We're also bumping to 1.65 rust in the release btw!
l
Amazing! Thank you!