Chayim Refael Friedman 56fb415ba7 Don't allow duplicate crates in the all_crates list
For some reason we had them in some projects, I'm not sure why. But this caused cache priming to appear stuck - because it uses a set of crate IDs for the actual work, but for the number of crates to index it just uses `db.all_crates().len()`.
2025-05-14 21:38:40 +03:00

35 lines
728 B
TOML

[package]
name = "base-db"
version = "0.0.0"
repository.workspace = true
description = "Basic database traits for rust-analyzer. The concrete DB is defined by `ide` (aka `ra_ap_ide`)."
authors.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib]
[dependencies]
la-arena.workspace = true
dashmap.workspace = true
salsa.workspace = true
salsa-macros.workspace = true
query-group.workspace = true
rustc-hash.workspace = true
triomphe.workspace = true
semver.workspace = true
tracing.workspace = true
indexmap.workspace = true
# local deps
cfg.workspace = true
syntax.workspace = true
vfs.workspace = true
span.workspace = true
intern.workspace = true
[lints]
workspace = true