├── .cargo └── config.toml ├── .clippy.toml ├── .github ├── FUNDING.yml ├── renovate.json └── workflows │ ├── ci.yml │ ├── release-binaries.yml │ ├── release.yml │ └── zizmor.yml ├── .gitignore ├── .rustfmt.toml ├── CHANGELOG.md ├── CLAUDE.md ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── README.md ├── justfile ├── release-plz.toml ├── rust-toolchain.toml ├── src ├── cargo_toml_editor.rs ├── dependency_analyzer.rs ├── import_collector.rs ├── lib.rs ├── main.rs ├── manifest.rs ├── package_processor.rs └── tests.rs └── tests ├── fixtures ├── clean │ ├── Cargo.lock │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── clean_workspace │ ├── Cargo.lock │ ├── Cargo.toml │ ├── app │ │ ├── Cargo.toml │ │ └── src │ │ │ └── lib.rs │ └── lib │ │ ├── Cargo.toml │ │ └── src │ │ └── lib.rs ├── complex │ ├── Cargo.lock │ ├── Cargo.toml │ ├── build.rs │ ├── src │ │ └── lib.rs │ └── tests │ │ └── test.rs ├── ignored │ ├── Cargo.lock │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── ignored_invalid │ ├── Cargo.lock │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── ignored_redundant │ ├── Cargo.lock │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── ignored_workspace │ ├── Cargo.lock │ ├── Cargo.toml │ ├── app │ │ ├── Cargo.toml │ │ └── src │ │ │ └── main.rs │ └── lib │ │ ├── Cargo.toml │ │ └── src │ │ └── lib.rs ├── ignored_workspace_merged │ ├── Cargo.lock │ ├── Cargo.toml │ └── lib │ │ ├── Cargo.toml │ │ └── src │ │ └── lib.rs ├── ignored_workspace_redundant │ ├── Cargo.lock │ ├── Cargo.toml │ ├── app │ │ ├── Cargo.toml │ │ └── src │ │ │ └── main.rs │ └── lib │ │ ├── Cargo.toml │ │ └── src │ │ └── lib.rs ├── misplaced │ ├── Cargo.lock │ ├── Cargo.toml │ ├── src │ │ └── lib.rs │ └── tests │ │ └── test.rs ├── misplaced_optional │ ├── Cargo.lock │ ├── Cargo.toml │ ├── src │ │ └── lib.rs │ └── tests │ │ └── test.rs ├── misplaced_platform │ ├── Cargo.lock │ ├── Cargo.toml │ ├── src │ │ └── lib.rs │ └── tests │ │ └── test.rs ├── misplaced_renamed │ ├── Cargo.lock │ ├── Cargo.toml │ ├── src │ │ └── lib.rs │ └── tests │ │ └── test.rs ├── misplaced_table │ ├── Cargo.lock │ ├── Cargo.toml │ ├── src │ │ └── lib.rs │ └── tests │ │ └── test.rs ├── misplaced_unit │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── unused │ ├── Cargo.lock │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── unused_build │ ├── Cargo.lock │ ├── Cargo.toml │ ├── build.rs │ └── src │ │ └── lib.rs ├── unused_dev │ ├── Cargo.lock │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── unused_feature │ ├── Cargo.lock │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── unused_feature_weak │ ├── Cargo.lock │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── unused_libname │ ├── Cargo.lock │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── unused_naming_hyphen │ ├── Cargo.lock │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── unused_naming_underscore │ ├── Cargo.lock │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── unused_optional │ ├── Cargo.lock │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── unused_optional_implicit │ ├── Cargo.lock │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── unused_platform │ ├── Cargo.lock │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── unused_renamed │ ├── Cargo.lock │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── unused_table │ ├── Cargo.lock │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── unused_workspace │ ├── Cargo.lock │ ├── Cargo.toml │ ├── app │ │ ├── Cargo.toml │ │ └── src │ │ │ └── lib.rs │ └── lib │ │ ├── Cargo.toml │ │ └── src │ │ └── lib.rs ├── unused_workspace_libname │ ├── Cargo.lock │ ├── Cargo.toml │ ├── app │ │ ├── Cargo.toml │ │ └── src │ │ │ └── lib.rs │ └── lib │ │ ├── Cargo.toml │ │ └── src │ │ └── lib.rs └── unused_workspace_renamed │ ├── Cargo.lock │ ├── Cargo.toml │ ├── app │ ├── Cargo.toml │ └── src │ │ └── lib.rs │ └── lib │ ├── Cargo.toml │ └── src │ └── lib.rs └── integration_tests.rs /.cargo/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/.cargo/config.toml -------------------------------------------------------------------------------- /.clippy.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/.clippy.toml -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [Boshen] 2 | -------------------------------------------------------------------------------- /.github/renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/.github/renovate.json -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/release-binaries.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/.github/workflows/release-binaries.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/zizmor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/.github/workflows/zizmor.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/.gitignore -------------------------------------------------------------------------------- /.rustfmt.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/.rustfmt.toml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CLAUDE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/CLAUDE.md -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/README.md -------------------------------------------------------------------------------- /justfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/justfile -------------------------------------------------------------------------------- /release-plz.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/release-plz.toml -------------------------------------------------------------------------------- /rust-toolchain.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/rust-toolchain.toml -------------------------------------------------------------------------------- /src/cargo_toml_editor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/src/cargo_toml_editor.rs -------------------------------------------------------------------------------- /src/dependency_analyzer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/src/dependency_analyzer.rs -------------------------------------------------------------------------------- /src/import_collector.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/src/import_collector.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/src/main.rs -------------------------------------------------------------------------------- /src/manifest.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/src/manifest.rs -------------------------------------------------------------------------------- /src/package_processor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/src/package_processor.rs -------------------------------------------------------------------------------- /src/tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/src/tests.rs -------------------------------------------------------------------------------- /tests/fixtures/clean/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/clean/Cargo.lock -------------------------------------------------------------------------------- /tests/fixtures/clean/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/clean/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/clean/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/clean/src/lib.rs -------------------------------------------------------------------------------- /tests/fixtures/clean_workspace/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/clean_workspace/Cargo.lock -------------------------------------------------------------------------------- /tests/fixtures/clean_workspace/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/clean_workspace/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/clean_workspace/app/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/clean_workspace/app/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/clean_workspace/app/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/clean_workspace/app/src/lib.rs -------------------------------------------------------------------------------- /tests/fixtures/clean_workspace/lib/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/clean_workspace/lib/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/clean_workspace/lib/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/clean_workspace/lib/src/lib.rs -------------------------------------------------------------------------------- /tests/fixtures/complex/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/complex/Cargo.lock -------------------------------------------------------------------------------- /tests/fixtures/complex/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/complex/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/complex/build.rs: -------------------------------------------------------------------------------- 1 | fn main() {} 2 | -------------------------------------------------------------------------------- /tests/fixtures/complex/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/complex/tests/test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/complex/tests/test.rs -------------------------------------------------------------------------------- /tests/fixtures/ignored/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/ignored/Cargo.lock -------------------------------------------------------------------------------- /tests/fixtures/ignored/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/ignored/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/ignored/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/ignored_invalid/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/ignored_invalid/Cargo.lock -------------------------------------------------------------------------------- /tests/fixtures/ignored_invalid/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/ignored_invalid/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/ignored_invalid/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/ignored_redundant/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/ignored_redundant/Cargo.lock -------------------------------------------------------------------------------- /tests/fixtures/ignored_redundant/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/ignored_redundant/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/ignored_redundant/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() -> anyhow::Result<()> { 2 | Ok(()) 3 | } 4 | -------------------------------------------------------------------------------- /tests/fixtures/ignored_workspace/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/ignored_workspace/Cargo.lock -------------------------------------------------------------------------------- /tests/fixtures/ignored_workspace/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/ignored_workspace/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/ignored_workspace/app/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/ignored_workspace/app/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/ignored_workspace/app/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() {} 2 | -------------------------------------------------------------------------------- /tests/fixtures/ignored_workspace/lib/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/ignored_workspace/lib/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/ignored_workspace/lib/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/ignored_workspace_merged/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/ignored_workspace_merged/Cargo.lock -------------------------------------------------------------------------------- /tests/fixtures/ignored_workspace_merged/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/ignored_workspace_merged/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/ignored_workspace_merged/lib/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/ignored_workspace_merged/lib/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/ignored_workspace_merged/lib/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/ignored_workspace_redundant/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/ignored_workspace_redundant/Cargo.lock -------------------------------------------------------------------------------- /tests/fixtures/ignored_workspace_redundant/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/ignored_workspace_redundant/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/ignored_workspace_redundant/app/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/ignored_workspace_redundant/app/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/ignored_workspace_redundant/app/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() -> anyhow::Result<()> { 2 | Ok(()) 3 | } 4 | -------------------------------------------------------------------------------- /tests/fixtures/ignored_workspace_redundant/lib/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/ignored_workspace_redundant/lib/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/ignored_workspace_redundant/lib/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/misplaced/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/misplaced/Cargo.lock -------------------------------------------------------------------------------- /tests/fixtures/misplaced/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/misplaced/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/misplaced/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/misplaced/tests/test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/misplaced/tests/test.rs -------------------------------------------------------------------------------- /tests/fixtures/misplaced_optional/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/misplaced_optional/Cargo.lock -------------------------------------------------------------------------------- /tests/fixtures/misplaced_optional/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/misplaced_optional/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/misplaced_optional/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/misplaced_optional/tests/test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/misplaced_optional/tests/test.rs -------------------------------------------------------------------------------- /tests/fixtures/misplaced_platform/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/misplaced_platform/Cargo.lock -------------------------------------------------------------------------------- /tests/fixtures/misplaced_platform/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/misplaced_platform/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/misplaced_platform/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/misplaced_platform/tests/test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/misplaced_platform/tests/test.rs -------------------------------------------------------------------------------- /tests/fixtures/misplaced_renamed/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/misplaced_renamed/Cargo.lock -------------------------------------------------------------------------------- /tests/fixtures/misplaced_renamed/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/misplaced_renamed/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/misplaced_renamed/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/misplaced_renamed/tests/test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/misplaced_renamed/tests/test.rs -------------------------------------------------------------------------------- /tests/fixtures/misplaced_table/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/misplaced_table/Cargo.lock -------------------------------------------------------------------------------- /tests/fixtures/misplaced_table/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/misplaced_table/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/misplaced_table/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/misplaced_table/tests/test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/misplaced_table/tests/test.rs -------------------------------------------------------------------------------- /tests/fixtures/misplaced_unit/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/misplaced_unit/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/misplaced_unit/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/misplaced_unit/src/lib.rs -------------------------------------------------------------------------------- /tests/fixtures/unused/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused/Cargo.lock -------------------------------------------------------------------------------- /tests/fixtures/unused/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/unused/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/unused_build/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_build/Cargo.lock -------------------------------------------------------------------------------- /tests/fixtures/unused_build/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_build/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/unused_build/build.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("cargo:rerun-if-changed=build.rs"); 3 | } 4 | -------------------------------------------------------------------------------- /tests/fixtures/unused_build/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/unused_dev/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_dev/Cargo.lock -------------------------------------------------------------------------------- /tests/fixtures/unused_dev/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_dev/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/unused_dev/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/unused_feature/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_feature/Cargo.lock -------------------------------------------------------------------------------- /tests/fixtures/unused_feature/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_feature/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/unused_feature/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/unused_feature_weak/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_feature_weak/Cargo.lock -------------------------------------------------------------------------------- /tests/fixtures/unused_feature_weak/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_feature_weak/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/unused_feature_weak/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/unused_libname/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_libname/Cargo.lock -------------------------------------------------------------------------------- /tests/fixtures/unused_libname/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_libname/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/unused_libname/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/unused_naming_hyphen/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_naming_hyphen/Cargo.lock -------------------------------------------------------------------------------- /tests/fixtures/unused_naming_hyphen/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_naming_hyphen/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/unused_naming_hyphen/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/unused_naming_underscore/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_naming_underscore/Cargo.lock -------------------------------------------------------------------------------- /tests/fixtures/unused_naming_underscore/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_naming_underscore/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/unused_naming_underscore/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/unused_optional/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_optional/Cargo.lock -------------------------------------------------------------------------------- /tests/fixtures/unused_optional/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_optional/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/unused_optional/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/unused_optional_implicit/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_optional_implicit/Cargo.lock -------------------------------------------------------------------------------- /tests/fixtures/unused_optional_implicit/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_optional_implicit/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/unused_optional_implicit/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/unused_platform/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_platform/Cargo.lock -------------------------------------------------------------------------------- /tests/fixtures/unused_platform/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_platform/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/unused_platform/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/unused_renamed/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_renamed/Cargo.lock -------------------------------------------------------------------------------- /tests/fixtures/unused_renamed/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_renamed/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/unused_renamed/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/unused_table/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_table/Cargo.lock -------------------------------------------------------------------------------- /tests/fixtures/unused_table/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_table/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/unused_table/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/unused_workspace/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_workspace/Cargo.lock -------------------------------------------------------------------------------- /tests/fixtures/unused_workspace/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_workspace/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/unused_workspace/app/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_workspace/app/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/unused_workspace/app/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/unused_workspace/lib/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_workspace/lib/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/unused_workspace/lib/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/unused_workspace_libname/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_workspace_libname/Cargo.lock -------------------------------------------------------------------------------- /tests/fixtures/unused_workspace_libname/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_workspace_libname/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/unused_workspace_libname/app/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_workspace_libname/app/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/unused_workspace_libname/app/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/unused_workspace_libname/lib/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_workspace_libname/lib/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/unused_workspace_libname/lib/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/unused_workspace_renamed/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_workspace_renamed/Cargo.lock -------------------------------------------------------------------------------- /tests/fixtures/unused_workspace_renamed/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_workspace_renamed/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/unused_workspace_renamed/app/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_workspace_renamed/app/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/unused_workspace_renamed/app/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_workspace_renamed/app/src/lib.rs -------------------------------------------------------------------------------- /tests/fixtures/unused_workspace_renamed/lib/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/fixtures/unused_workspace_renamed/lib/Cargo.toml -------------------------------------------------------------------------------- /tests/fixtures/unused_workspace_renamed/lib/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub fn lib() {} 2 | -------------------------------------------------------------------------------- /tests/integration_tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Boshen/cargo-shear/HEAD/tests/integration_tests.rs --------------------------------------------------------------------------------