red-knot[salsa part 2]: Setup semantic DB and Jar (#11837)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
Micha Reiser
2024-06-13 08:00:51 +01:00
committed by GitHub
parent 9dc226be97
commit efbf7b14b5
7 changed files with 267 additions and 15 deletions

View File

@@ -14,6 +14,7 @@ license = { workspace = true }
doctest = false
[dependencies]
ruff_db = { workspace = true, optional = true }
ruff_index = { workspace = true }
ruff_python_ast = { workspace = true }
ruff_python_stdlib = { workspace = true }
@@ -22,6 +23,8 @@ ruff_text_size = { workspace = true }
bitflags = { workspace = true }
is-macro = { workspace = true }
salsa = { workspace = true, optional = true }
tracing = { workspace = true, optional = true }
rustc-hash = { workspace = true }
[dev-dependencies]
@@ -29,3 +32,6 @@ ruff_python_parser = { workspace = true }
[lints]
workspace = true
[features]
red_knot = ["dep:ruff_db", "dep:salsa", "dep:tracing"]