feat: Run cargo shear during CI (#3338)

Run cargo shear as part of the CI to ensure no unused dependencies
This commit is contained in:
jif-oai
2025-09-08 18:05:08 -07:00
committed by GitHub
parent ac58749bd3
commit a9c68ea270
12 changed files with 48 additions and 625 deletions

View File

@@ -17,7 +17,6 @@ icu_locale_core = "2.0.0"
mcp-types = { path = "../mcp-types" }
mime_guess = "2.0.5"
serde = { version = "1", features = ["derive"] }
serde_bytes = "0.11"
serde_json = "1"
serde_with = { version = "3.14.0", features = ["macros", "base64"] }
strum = "0.27.2"
@@ -29,3 +28,7 @@ uuid = { version = "1", features = ["serde", "v4"] }
[dev-dependencies]
pretty_assertions = "1.4.1"
[package.metadata.cargo-shear]
# Required because the not imported as strum_macros in non-nightly builds.
ignored = ["strum"]