You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: improve features_to_remove correctness and code quality
Move features_to_remove from _ANNOTATION_SELECT_ATTRS to
_ANNOTATION_NORMAL_ATTRS to fix a deserialization bug when used
via annotation_select. Refactor compute_orphaned_deps to be
self-contained, consolidate two retain passes into one, introduce
OrphanedDeps struct for clarity, and add doc comments.
doc="A list of targets to add to the generated aliases in the root crate_universe repository.",
1296
1296
),
1297
+
"features_to_remove": attr.string_list(
1298
+
doc="A list of features to remove from a crate's resolved feature set. Overrides Cargo feature unification for this crate. Dependencies gated exclusively on removed features are also excluded.",
1299
+
),
1297
1300
"gen_all_binaries": attr.bool(
1298
1301
doc="If true, generates `rust_binary` targets for all of the crates bins",
doc="A list of strings to add to a crate's `rust_library::crate_features` attribute.",
1367
1370
),
1368
-
"features_to_remove": attr.string_list(
1369
-
doc="A list of features to remove from a crate's resolved feature set. Overrides Cargo feature unification for this crate. Dependencies gated exclusively on removed features are also excluded.",
1370
-
),
1371
1371
"data": _relative_label_list(
1372
1372
doc="A list of labels to add to a crate's `rust_library::data` attribute.",
0 commit comments