Skip to content

Fix website Rust example doctests - #40

Merged
forhappy merged 2 commits into
mainfrom
codex/fix-web-rust-example-doctests
Oct 1, 2026
Merged

forhappy merged 2 commits into
mainfrom
codex/fix-web-rust-example-doctests

Conversation

@forhappy

@forhappy forhappy commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Summary

The website Rust example checker only linked cellule-app and cellule-runtime, so examples importing cellule-types failed. The store guide also imports cellule-store, bytes, and object_store directly.

Build the framework and store examples as separate Cargo groups, then pass each document the matching reported libraries. Keeping the store group separate preserves the feature-specific crate artifacts needed for compatible bytes::Bytes types.

Validation

  • CARGO_TARGET_DIR=... python3 scripts/check-web-rust-examples.py — all 12 authored Rust example guides pass.
  • git diff --check

This fixes the failing base check for PR #38 after this change lands on main and its checks are rerun.

@forhappy
forhappy merged commit 0dc04a6 into main Oct 1, 2026
9 of 11 checks passed
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