rust-analyzer/lib
Lukas Wirth 5211972743 internal: Split serde derive feature into serde_derive usage
Ideally we'd not have any dependency pull in the derive feature for faster build times, once that is the case this change would have an actual effect.
See https://github.com/matklad/macro-dep-test/blob/master/README.md for context.
2024-12-20 11:55:02 +01:00
..
la-arena clippy: Enable non_canonical_partial_ord_impl rule 2024-02-09 22:42:16 +09:00
line-index line-index method to allow clamping column to line length 2024-10-15 12:14:45 +02:00
lsp-server internal: Split serde derive feature into serde_derive usage 2024-12-20 11:55:02 +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