Skip to content

docs(rust): user-facing README for the Rust ccc build#197

Merged
badmonster0 merged 3 commits into
rustfrom
docs/rust-sdk-usage
Jun 22, 2026
Merged

docs(rust): user-facing README for the Rust ccc build#197
badmonster0 merged 3 commits into
rustfrom
docs/rust-sdk-usage

Conversation

@badmonster0

@badmonster0 badmonster0 commented Jun 22, 2026

Copy link
Copy Markdown
Member

Replaces rust/PORTING.md with a user-facing rust/README.md for the native Rust ccc build — structured to match the main cocoindex-code README.

Sections: Features · Install (build from source) · Quick start · Coding Agent Integration (Skill + MCP) · CLI Reference · Search options · MCP tool reference · Configuration (user + project settings) · Supported languages · Differences from the Python build.

Scope notes captured honestly: embeddings are local-only (fastembed, default BAAI/bge-small-en-v1.5; no LiteLLM/cloud); custom Python chunkers aren't supported (config still parses); index DBs are interchangeable with the Python build.

No Python-port framing, no SDK-internals walkthrough — purely how a user installs and uses the tool.

Also updates the e2e_advanced.sh fixture that copies the doc as a sample markdown file.

Add a "How it uses the CocoIndex Rust SDK" section to rust/PORTING.md — a
code-grounded walkthrough of the SDK API the port exercises (Environment/App/run,
ContextKey DI + change detection, #[cocoindex::function] memoization, walk_dir +
mount_each!, the sqlite/vec0 table target + declare_row, and the sqlite-vec
from_pool gotcha). Snippets cite live file:line anchors so the doc stays
verifiable against the source.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@badmonster0 badmonster0 changed the title docs(rust): document how the port uses the CocoIndex Rust SDK docs(rust): standalone Rust README + CocoIndex SDK usage guide Jun 22, 2026
Rename rust/PORTING.md -> rust/README.md and rewrite as a Rust-only usage doc:
drop the Python->Rust module map, the parity audit, the Python backward-compat
section, and the "vs Python" deltas. Keep build/run, architecture, the
"How it uses the CocoIndex Rust SDK" walkthrough, CLI commands, configuration,
testing, and a plain limitations/follow-ups list. Update the e2e fixture that
copies the doc as a sample markdown file.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@badmonster0 badmonster0 force-pushed the docs/rust-sdk-usage branch from 6193d8e to 1af60f8 Compare June 22, 2026 06:39
…fig)

Drop the SDK-internals walkthrough. The Rust README now mirrors the main
cocoindex-code README's user-facing structure — Install (build from source),
Quick start, Coding Agent Integration (Skill + MCP), CLI Reference, Search
options, MCP tool reference, Configuration (user/project settings), Supported
languages, and a short "Differences from the Python build" note (local-only
embeddings; no custom Python chunkers).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@badmonster0 badmonster0 changed the title docs(rust): standalone Rust README + CocoIndex SDK usage guide docs(rust): user-facing README for the Rust ccc build Jun 22, 2026
@badmonster0 badmonster0 merged commit 6529a56 into rust Jun 22, 2026
4 checks passed
@badmonster0 badmonster0 deleted the docs/rust-sdk-usage branch June 22, 2026 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant