🐛 Broken build when pulling some Biome dependencies from crates.io #5151
Labels
good first issue
Good for newcomers
S-Help-wanted
Status: you're familiar with the code base and want to help the project
Environment information
What happened?
For context, I'm using some of the crates from Biome as part of a Rust project (Brioche) to handle parsing TypeScript files.
Some subset of the Biome crates in crates.io seem to have incorrect version constraints on their dependencies, meaning that pulling their latest version will also pull incompatible versions of their dependencies. Here's a minimal set of steps to reproduce:
cargo new biome-build-error
cargo add biome_json_syntax
cargo check
Here's a repository with the project from (2): https://github.com/kylewlacy/biome-build-error
Today, this fails with the following error:
cargo check output
In this particular case, this happens because
biome_json_syntax v0.5.7
is incompatible withbiome_rowan v0.5.8
, which is the version Cargo selects by default today.Expected result
The build should succeed
Code of Conduct
The text was updated successfully, but these errors were encountered: