mirror of
https://github.com/astral-sh/ruff
synced 2026-01-06 06:04:16 -05:00
## Summary This PR makes the `ruff_db` a required crate for `ruff_python_semantic`. Refer https://github.com/astral-sh/ruff/actions/runs/9516626143/job/26233307158?pr=11872 ## Test Plan 1. `maturin sdist --out dist` 2. `tar -xf dist/ruff-0.4.8.tar.gz --directory=dist/ruff-0.4.8` 3. `pip install dist/ruff-0.4.8.tar.gz` works
38 lines
902 B
TOML
38 lines
902 B
TOML
[package]
|
|
name = "ruff_python_semantic"
|
|
version = "0.0.0"
|
|
publish = false
|
|
authors = { workspace = true }
|
|
edition = { workspace = true }
|
|
rust-version = { workspace = true }
|
|
homepage = { workspace = true }
|
|
documentation = { workspace = true }
|
|
repository = { workspace = true }
|
|
license = { workspace = true }
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
ruff_db = { workspace = true }
|
|
ruff_index = { workspace = true }
|
|
ruff_python_ast = { workspace = true }
|
|
ruff_python_stdlib = { workspace = true }
|
|
ruff_source_file = { workspace = true }
|
|
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]
|
|
ruff_python_parser = { workspace = true }
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
red_knot = ["dep:salsa", "dep:tracing"]
|