From b3e99b25bfe5af8fbf2d8a623c802fd1086c0a60 Mon Sep 17 00:00:00 2001 From: Micha Reiser Date: Fri, 14 Feb 2025 20:31:55 +0000 Subject: [PATCH] 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 --- crates/red_knot_python_semantic/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/red_knot_python_semantic/Cargo.toml b/crates/red_knot_python_semantic/Cargo.toml index e7af108fe0..e024e234de 100644 --- a/crates/red_knot_python_semantic/Cargo.toml +++ b/crates/red_knot_python_semantic/Cargo.toml @@ -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