rust-analyzer/lib
Johann Hemmann 28c7fa8dc6 Fix CI 2
2024-01-18 14:18:07 +01:00
..
la-arena Fix CI 2 2024-01-18 14:18:07 +01:00
line-index internal: add inline for move_mask in line-index 2024-01-12 20:27:54 +08:00
lsp-server cargo clippy --fix 2024-01-18 13:59:49 +01:00
README.md Use lib crates from crates.io 2023-06-21 16:10:17 +10:00

lib

Crates in this directory are published to crates.io and obey semver.

They could live in a separate repo, but we want to experiment with a monorepo setup.

We use these crates from crates.io, not the local copies because we want to ensure that rust-analyzer works with the versions that are published. This means if you add a new API to these crates, you need to release a new version to crates.io before you can use that API in rust-analyzer.

To release new versions of these packages, change their version in Cargo.toml. Once your PR is merged into master a workflow will automatically publish the new version to crates.io.

While prototyping, the local versions can be used by uncommenting the relevant lines in the [patch.'crates-io'] section in Cargo.toml