Skip to content

Commit 3dce445

Browse files
ahaviliclaude
andcommitted
refactor: remove unused grapha-rust crate and make grapha-engine publishable
grapha-rust was a dead workspace member: no crate depended on it and no code imported it (the live Rust extractor is inlined in grapha-engine). Remove it entirely and restore the publish chain that the engine-extraction refactor had broken. - Delete grapha-rust/ and drop it from workspace members - Remove `publish = false` and the unused grapha-rust dep from grapha-engine - Refresh README / CN README workspace structure and a stale manifest.rs comment nous, the only external consumer, depends on grapha-core + grapha-engine via a pinned git rev and never used grapha-rust, so it is unaffected. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 3c3ee05 commit 3dce445

8 files changed

Lines changed: 6 additions & 250 deletions

File tree

Cargo.lock

Lines changed: 0 additions & 14 deletions
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,3 +1,3 @@
11
[workspace]
2-
members = ["grapha-core", "grapha-rust", "grapha-swift", "grapha-engine", "grapha"]
2+
members = ["grapha-core", "grapha-swift", "grapha-engine", "grapha"]
33
resolver = "3"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,9 +342,9 @@ Global developer defaults can live in `$GRAPHA_CONFIG`, `$XDG_CONFIG_HOME/grapha
342342
343343
```text
344344
grapha-core/ Shared graph, extraction, semantic, selector, and plugin types
345-
grapha-rust/ Rust plugin and tree-sitter extractor package
346345
grapha-swift/ Swift extraction: index store -> SwiftSyntax -> tree-sitter
347-
grapha/ CLI binary, query engines, persistence, MCP server, and web UI
346+
grapha-engine/ Library engine: extraction, query engines, persistence, and language plugins
347+
grapha/ CLI binary, MCP server, and web UI
348348
nodus/ Agent tooling package with skills, rules, and commands
349349
```
350350

docs/README.CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,9 @@ operation = "set"
271271
272272
```text
273273
grapha-core/ 共享图、提取、语义、选择器和插件类型
274-
grapha-rust/ Rust 插件和 tree-sitter 提取器包
275274
grapha-swift/ Swift 提取:Index Store -> SwiftSyntax -> tree-sitter
276-
grapha/ CLI、查询引擎、持久化、MCP 服务器和 Web UI
275+
grapha-engine/ 库引擎:提取、查询引擎、持久化和语言插件
276+
grapha/ CLI、MCP 服务器和 Web UI
277277
nodus/ 智能体工具包,包含 skills、rules 和 commands
278278
```
279279

grapha-engine/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
name = "grapha-engine"
33
version = "0.4.2"
44
edition = "2024"
5-
publish = false
65
description = "Library engine for Grapha code intelligence"
76
license = "MIT"
87
repository = "https://github.com/oops-rs/grapha"
@@ -13,7 +12,6 @@ categories = ["development-tools"]
1312

1413
[dependencies]
1514
grapha-core = { version = "0.4.2", path = "../grapha-core" }
16-
grapha-rust = { version = "0.4.2", path = "../grapha-rust" }
1715
grapha-swift = { version = "0.4.2", path = "../grapha-swift", optional = true }
1816
anyhow = "1"
1917
bincode = { version = "2", features = ["serde"] }

grapha-engine/src/manifest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ impl Op {
157157
/// The per-language quality tier grapha provides.
158158
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
159159
pub enum LanguageTier {
160-
/// Deep, language-aware extraction (Rust via grapha-rust, Swift via
160+
/// Deep, language-aware extraction (Rust via tree-sitter, Swift via
161161
/// libIndexStore + SwiftSyntax): full graph ops.
162162
Deep,
163163
/// Tree-sitter-only structural extraction: symbol/context/usages are

grapha-rust/Cargo.toml

Lines changed: 0 additions & 23 deletions
This file was deleted.

grapha-rust/src/lib.rs

Lines changed: 0 additions & 205 deletions
This file was deleted.

0 commit comments

Comments
 (0)