From 3e73b33a73966aa5d1074c09228bcf551123915a Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Thu, 11 Jun 2026 21:19:28 +0100 Subject: [PATCH] Revert "Prepare Rust crates for publication (#848)" This reverts commit 14dc62597e1b3c8ff475fb37a30e991644e754cf. --- rust/Cargo.lock | 6 +++--- rust/rubydex-mcp/Cargo.toml | 12 +++--------- rust/rubydex-mcp/README.md | 10 ---------- rust/rubydex-sys/Cargo.toml | 11 ++--------- rust/rubydex-sys/README.md | 10 ---------- rust/rubydex/Cargo.toml | 8 +------- rust/rubydex/README.md | 11 ----------- 7 files changed, 9 insertions(+), 59 deletions(-) delete mode 100644 rust/rubydex-mcp/README.md delete mode 100644 rust/rubydex-sys/README.md delete mode 100644 rust/rubydex/README.md diff --git a/rust/Cargo.lock b/rust/Cargo.lock index 98fab4410..9f20b56eb 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -1048,7 +1048,7 @@ dependencies = [ [[package]] name = "rubydex" -version = "0.2.5" +version = "0.1.0" dependencies = [ "assert_cmd", "bitflags", @@ -1072,7 +1072,7 @@ dependencies = [ [[package]] name = "rubydex-mcp" -version = "0.2.5" +version = "0.1.0" dependencies = [ "assert_cmd", "clap", @@ -1087,7 +1087,7 @@ dependencies = [ [[package]] name = "rubydex-sys" -version = "0.2.5" +version = "0.1.0" dependencies = [ "cbindgen", "libc", diff --git a/rust/rubydex-mcp/Cargo.toml b/rust/rubydex-mcp/Cargo.toml index f90ddd952..b5da6ef62 100644 --- a/rust/rubydex-mcp/Cargo.toml +++ b/rust/rubydex-mcp/Cargo.toml @@ -1,22 +1,16 @@ [package] name = "rubydex-mcp" -version = "0.2.5" +version = "0.1.0" edition = "2024" rust-version = "1.89.0" license = "MIT" -description = "MCP server exposing Rubydex semantic Ruby code intelligence tools." -homepage = "https://github.com/Shopify/rubydex" -repository = "https://github.com/Shopify/rubydex" -readme = "README.md" -keywords = ["ruby", "mcp", "static-analysis"] -categories = ["development-tools"] [[bin]] name = "rubydex_mcp" path = "src/main.rs" [dependencies] -rubydex = { version = "0.2.5", path = "../rubydex" } +rubydex = { path = "../rubydex" } clap = { version = "4.5.16", features = ["derive"] } rmcp = { version = "1.4", features = ["server", "macros", "transport-io", "schemars"] } tokio = { version = "1", features = ["macros", "rt", "io-std"] } @@ -26,7 +20,7 @@ schemars = "1" url = "2" [dev-dependencies] -rubydex = { version = "0.2.5", path = "../rubydex", features = ["test_utils"] } +rubydex = { path = "../rubydex", features = ["test_utils"] } assert_cmd = "2.0" serde_json = "1" diff --git a/rust/rubydex-mcp/README.md b/rust/rubydex-mcp/README.md deleted file mode 100644 index ae9934a53..000000000 --- a/rust/rubydex-mcp/README.md +++ /dev/null @@ -1,10 +0,0 @@ -# rubydex-mcp - -`rubydex-mcp` provides an MCP server backed by Rubydex. - -The server indexes a Ruby workspace and exposes semantic code intelligence -tools for AI assistants, including declaration search, declaration details, -descendant lookup, constant reference search, file declarations, and codebase -statistics. - -For Ruby-project setup, see the MCP section in the repository README. diff --git a/rust/rubydex-sys/Cargo.toml b/rust/rubydex-sys/Cargo.toml index 6552bf562..ff1d9ebac 100644 --- a/rust/rubydex-sys/Cargo.toml +++ b/rust/rubydex-sys/Cargo.toml @@ -1,21 +1,14 @@ [package] name = "rubydex-sys" -version = "0.2.5" +version = "0.1.0" edition = "2024" -rust-version = "1.89.0" license = "MIT" -description = "C FFI bindings for the Rubydex Ruby code indexing engine." -homepage = "https://github.com/Shopify/rubydex" -repository = "https://github.com/Shopify/rubydex" -readme = "README.md" -keywords = ["ruby", "ffi", "static-analysis"] -categories = ["development-tools", "external-ffi-bindings"] [lib] crate-type = ["cdylib", "staticlib"] [dependencies] -rubydex = { version = "0.2.5", path = "../rubydex" } +rubydex = { path = "../rubydex" } libc = "0.2.174" url = "2.5.4" line-index = "0.1.2" diff --git a/rust/rubydex-sys/README.md b/rust/rubydex-sys/README.md deleted file mode 100644 index 3f2f2b392..000000000 --- a/rust/rubydex-sys/README.md +++ /dev/null @@ -1,10 +0,0 @@ -# rubydex-sys - -`rubydex-sys` exposes the Rubydex Rust library through a C FFI boundary. - -This crate is primarily consumed by the Rubydex Ruby native extension. It -builds static and dynamic libraries plus generated C bindings for integrating -the Rust indexer with the Ruby VM. - -Most users should depend on the `rubydex` Ruby gem or the `rubydex` Rust crate -instead of using this crate directly. diff --git a/rust/rubydex/Cargo.toml b/rust/rubydex/Cargo.toml index 2d6021eca..fcc6f2ea8 100644 --- a/rust/rubydex/Cargo.toml +++ b/rust/rubydex/Cargo.toml @@ -1,15 +1,9 @@ [package] name = "rubydex" -version = "0.2.5" +version = "0.1.0" edition = "2024" rust-version = "1.89.0" license = "MIT" -description = "High-performance Ruby code indexing and static analysis library." -homepage = "https://github.com/Shopify/rubydex" -repository = "https://github.com/Shopify/rubydex" -readme = "README.md" -keywords = ["ruby", "indexing", "static-analysis"] -categories = ["development-tools"] [[bin]] name = "rubydex_cli" diff --git a/rust/rubydex/README.md b/rust/rubydex/README.md deleted file mode 100644 index ddb60cea5..000000000 --- a/rust/rubydex/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# rubydex - -`rubydex` is the Rust library that powers Rubydex's Ruby code indexing and -static analysis. - -The crate is part of the Rubydex project. It provides the graph, indexing, -resolution, query, and diagnostic logic used by the Ruby gem, the native FFI -crate, and the MCP server. - -See the repository README for Ruby-level usage examples and project -documentation.