crates: - name: A deps: - B - name: B features: F0: null cases: - cmd: lint propagate-feature --feature F0 --fix stdout: | crate 'A' feature 'F0' is required by 1 dependency: B Found 1 issue and fixed 1 (all fixed). code: 0 diff: | diff --git A/Cargo.toml A/Cargo.toml index b7a1745505..cce8f20e73 100644 --- A/Cargo.toml +++ A/Cargo.toml @@ -16,0 +17 @@ B = { version = "*", path = "../B"} +F0 = [] - cmd: lint propagate-feature --feature F0 --workspace --fix stdout: | crate 'A' feature 'F0' is required by 1 dependency: B Found 1 issue and fixed 1 (all fixed). code: 0 diff: | diff --git A/Cargo.toml A/Cargo.toml index b7a1745505..cce8f20e73 100644 --- A/Cargo.toml +++ A/Cargo.toml @@ -16,0 +17 @@ B = { version = "*", path = "../B"} +F0 = []