From 2dbe992438bc629633910ff1afa721b417f98cfd Mon Sep 17 00:00:00 2001 From: "Jeong, YunWon" <69878+youknowone@users.noreply.github.com> Date: Fri, 16 Oct 2026 10:06:40 +0900 Subject: [PATCH] Remove ucd_3_2_0 feature from rustpython-capi (#9153) Drop the capi [features] table added in #9011 along with the root ucd_3_2_0 forwarding to rustpython-capi and the default-features = false on the workspace rustpython-capi dependency. The root ucd_3_2_0 feature still enables rustpython-stdlib/ucd_3_2_0. Assisted-by: Claude Code:claude-opus-5-5 --- Cargo.toml | 4 ++-- crates/capi/Cargo.toml | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f437aa41a..4356442fa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,7 +32,7 @@ ssl-rustls-aws-lc-fips = ["ssl-rustls-aws-lc", "rustls/fips"] ssl-openssl = ["ssl", "rustpython-stdlib/ssl-openssl"] ssl-openssl-vendor = ["ssl-openssl", "rustpython-stdlib/ssl-openssl-vendor"] tkinter = ["rustpython-stdlib/tkinter"] -ucd_3_2_0 = ["rustpython-stdlib?/ucd_3_2_0", "rustpython-capi?/ucd_3_2_0"] +ucd_3_2_0 = ["rustpython-stdlib?/ucd_3_2_0"] [build-dependencies] winresource = "0.1" @@ -170,7 +170,7 @@ repository = "https://github.com/RustPython/RustPython" license = "MIT" [workspace.dependencies] -rustpython-capi = { path = "crates/capi", version = "0.6.1", default-features = false } +rustpython-capi = { path = "crates/capi", version = "0.6.1" } rustpython-compiler-core = { path = "crates/compiler-core", version = "0.6.1" } rustpython-compiler = { path = "crates/compiler", version = "0.6.1" } rustpython-codegen = { path = "crates/codegen", version = "0.6.1" } diff --git a/crates/capi/Cargo.toml b/crates/capi/Cargo.toml index 5ad0ecef0..08c102b4a 100644 --- a/crates/capi/Cargo.toml +++ b/crates/capi/Cargo.toml @@ -11,10 +11,6 @@ license.workspace = true [lib] crate-type = ["cdylib", "rlib"] -[features] -default = ["ucd_3_2_0"] -ucd_3_2_0 = ["rustpython-stdlib/ucd_3_2_0"] - [dependencies] bitflags = { workspace = true } itertools = { workspace = true }