rust-analyzer/lib
bors 86e559bf3f Auto merge of #16211 - tetsuharuohzeki:update-lint, r=Veykril
Use Cargo's [workspace.lints.*] to config clippy

This change begin to use [`[workspace.lints.*]`](https://doc.rust-lang.org/cargo/reference/workspaces.html#the-lints-table) that is stabilized since [Rust 1.74](https://blog.rust-lang.org/2023/11/16/Rust-1.74.0.html).

By this change, we make the configure more readable and simplify `xargo lint` more.
2024-01-02 14:53:22 +00:00
..
la-arena Use Cargo's [workspace.lints.*] to config clippy 2023-12-29 23:51:32 +09:00
line-index Use Cargo's [workspace.lints.*] to config clippy 2023-12-29 23:51:32 +09:00
lsp-server Auto merge of #16211 - tetsuharuohzeki:update-lint, r=Veykril 2024-01-02 14:53:22 +00: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