mirror of https://github.com/astral-sh/ruff
Fix missing serde feature for red_knot_python_semantic (#16169)
## Summary Running `cargo test -p red_knot_python_semantic` failed because of a missing serde feature. This PR enables the `ruff_python_ast`'`s `serde` if the crate's `serde` feature is enabled ## Test Plan `cargo test -p red_knot_python_semantic` compiles again
This commit is contained in:
parent
dcabb948f3
commit
b3e99b25bf
|
|
@ -57,7 +57,7 @@ quickcheck = { version = "1.0.3", default-features = false }
|
|||
quickcheck_macros = { version = "1.0.0" }
|
||||
|
||||
[features]
|
||||
serde = ["ruff_db/serde", "dep:serde"]
|
||||
serde = ["ruff_db/serde", "dep:serde", "ruff_python_ast/serde"]
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
|
|
|||
Loading…
Reference in New Issue