Skip to content

Commit 5a64b39

Browse files
sdsrssclaude
andcommitted
fix(lint): resolve 9 Rust 1.95 clippy errors (v0.9.1)
Pre-existing lints surfaced by stricter 1.95 clippy (CI has been red since ~v0.8.1; local toolchain was 1.91). No runtime behavior change. - collapsible_match (4): merge `match arm => if cond` into `match arm if cond =>` in src/parser/relations.rs C# arms + Python decorator scan - unnecessary_sort_by (4): sort_by(|a,b| b.x.cmp(&a.x)) → sort_by_key(|e| Reverse(e.x)) in src/mcp/server/tools.rs and src/storage/queries.rs - useless_conversion (1): drop redundant .into_iter() in src/graph/query.rs:133 Verified: cargo +1.95.0 clippy -- -D warnings clean on both feature sets; 328 cargo tests pass --no-default-features. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 878ff8e commit 5a64b39

File tree

15 files changed

+92
-90
lines changed

15 files changed

+92
-90
lines changed

.claude-plugin/marketplace.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
},
66
"metadata": {
77
"description": "AST knowledge graph plugin for Claude Code — semantic search, call graph, HTTP tracing, impact analysis",
8-
"version": "0.9.0"
8+
"version": "0.9.1"
99
},
1010
"plugins": [
1111
{
1212
"name": "code-graph-mcp",
1313
"source": "./claude-plugin",
1414
"description": "AST knowledge graph for intelligent code navigation — auto-indexes your codebase and provides semantic search, call graph traversal, HTTP route tracing, and impact analysis via MCP tools",
15-
"version": "0.9.0",
15+
"version": "0.9.1",
1616
"author": {
1717
"name": "sdsrs"
1818
},

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## v0.9.1 — Rust 1.95 clippy cleanup
4+
5+
CI-only cleanup; no runtime behavior changes, no user-visible differences. Fixes 9 clippy errors surfaced by Rust 1.95.0's stricter lints (pre-existing since ~v0.8.1, was shipping with red CI):
6+
7+
- `collapsible_match` (4): merge `match arm => if cond` into `match arm if cond =>` in `src/parser/relations.rs` C# arms + Python decorator scan.
8+
- `unnecessary_sort_by` (4): `.sort_by(|a,b| b.x.cmp(&a.x))``.sort_by_key(|e| Reverse(e.x))` in `src/mcp/server/tools.rs` and `src/storage/queries.rs`.
9+
- `useless_conversion` (1): drop redundant `.into_iter()` in a chained iterator in `src/graph/query.rs`.
10+
11+
Verified with `cargo +1.95.0 clippy -- -D warnings` on both `--no-default-features` and default feature sets.
12+
313
## v0.9.0 — Context-aware auto-adopt (C')
414

515
### Migration note

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "code-graph-mcp"
3-
version = "0.9.0"
3+
version = "0.9.1"
44
edition = "2021"
55

66
[features]

claude-plugin/.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"author": {
55
"name": "sdsrs"
66
},
7-
"version": "0.9.0",
7+
"version": "0.9.1",
88
"keywords": [
99
"code-graph",
1010
"ast",

npm/darwin-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sdsrs/code-graph-darwin-arm64",
3-
"version": "0.9.0",
3+
"version": "0.9.1",
44
"description": "code-graph-mcp binary for macOS ARM64",
55
"license": "MIT",
66
"repository": {

npm/darwin-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sdsrs/code-graph-darwin-x64",
3-
"version": "0.9.0",
3+
"version": "0.9.1",
44
"description": "code-graph-mcp binary for macOS x64",
55
"license": "MIT",
66
"repository": {

npm/linux-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sdsrs/code-graph-linux-arm64",
3-
"version": "0.9.0",
3+
"version": "0.9.1",
44
"description": "code-graph-mcp binary for Linux ARM64",
55
"license": "MIT",
66
"repository": {

npm/linux-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sdsrs/code-graph-linux-x64",
3-
"version": "0.9.0",
3+
"version": "0.9.1",
44
"description": "code-graph-mcp binary for Linux x64",
55
"license": "MIT",
66
"repository": {

npm/win32-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sdsrs/code-graph-win32-x64",
3-
"version": "0.9.0",
3+
"version": "0.9.1",
44
"description": "code-graph-mcp binary for Windows x64",
55
"license": "MIT",
66
"repository": {

0 commit comments

Comments
 (0)