feat: add caching category to Rust ecosystem#144
Merged
Conversation
Add RustCachingSchema with moka (in-memory) and redis options. Full 30-file new-category wiring: schemas, types, CLI prompts, MCP server, web builder, compatibility, smoke tests, and templates. All 4 scaffold combos pass cargo check.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
Marve10s
added a commit
that referenced
this pull request
Apr 11, 2026
## New Tools (18 additions across all ecosystems) ### TypeScript - **Algolia** search engine (#125) - **Vercel** deployment with compat rules (#137) - **GraphQL Yoga + Pothos** API option (#139) - **Tauri** desktop app addon (#142) - **i18n** category: i18next + next-intl (#149) ### Rust - **tracing + env-logger** logging category (#126) - **anyhow + thiserror + eyre** error handling category (#135) - **Diesel** ORM (#140) - **Rocket** web framework (#143) - **moka + redis** caching category (#144) ### Go - **Fiber** web framework (#127) - **Chi** web framework (#133) - **zerolog + slog** logging (#138) - **Ent** ORM (#145) ### Python - **Flask** web framework (#128) - **Litestar** web framework (#136) - **authlib + jwt** auth category (#141) - **Strawberry** GraphQL category (#148) ## Infrastructure - Adding new tool options guideline (3,000+ lines, 7 files) - PR-aware smoke tests (--force-option, --force-non-none, --partition) - Strengthened CI: test:release expanded, smoke tests block PRs - Compatibility rules guideline with template parity checks - Meilisearch template fix for v0.57 API changes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
RustCachingSchema = z.enum(["moka", "redis", "none"])as a new category in the Rust ecosystemmoka = { version = "0.12", features = ["future"] }redis = { version = "0.29", features = ["aio", "tokio-comp"] }Files changed (33)
packages/types/src/schemas.ts- Schema + VALUES export + 3 config schemaspackages/types/src/types.ts- Type exportpackages/types/src/option-metadata.ts- Labels + metadatapackages/types/src/compatibility.ts- CompatibilityInput + display nameapps/cli/src/index.ts- Import, router schema, config constructionapps/cli/src/prompts/config-prompts.ts- Prompt wiringapps/cli/src/prompts/rust-ecosystem.ts-getRustCachingChoice()prompt functionapps/cli/src/mcp.ts- 6 spots (import, SCHEMA_MAP, ecosystem categories, buildProjectConfig, buildCompatibilityInput, tool parameters)apps/cli/src/utils/bts-config.ts- Write + read pathsapps/cli/src/constants.ts- Default valueapps/cli/src/helpers/core/command-handlers.ts- Error fallback configapps/cli/src/utils/generate-reproducible-command.ts---rust-cachingflagapps/cli/src/utils/config-processing.ts- processFlags branchapps/cli/src/helpers/core/post-installation.ts- Display outputpackages/template-generator/src/processors/readme-generator.ts- README featurespackages/template-generator/templates/rust-base/Cargo.toml.hbs- Workspace depspackages/template-generator/templates/rust-base/crates/server/Cargo.toml.hbs- Server depspackages/template-generator/templates/rust-base/crates/server/src/main.rs.hbs-mod cache;+ initpackages/template-generator/templates/rust-base/crates/server/src/cache.rs.hbs- NEW cache helper moduleapps/web/src/lib/constant.ts- TECH_OPTIONS + ECOSYSTEM_CATEGORIESapps/web/src/lib/preview-config.ts- stackToConfig mappingapps/web/src/lib/stack-defaults.ts- StackState type + DEFAULT_STACKapps/web/src/lib/stack-url-keys.ts- URL key (rca)apps/web/src/lib/stack-url-state.ts- 3 spots (load, serialize, search)apps/web/src/lib/stack-utils.ts- Category order + generateStackCommandapps/web/src/lib/tech-icons.ts- Icon for mokaapps/web/src/lib/tech-resource-links.ts- Docs/GitHub for mokatesting/lib/generate-combos/options.ts- Import + sampleScalar + base configtesting/lib/presets.ts- Base configapps/cli/test/generate-reproducible-command.test.ts- makeConfig + expected outputapps/cli/test/rust-ecosystem.test.ts- 3 new tests (moka, redis, none)apps/cli/test/template-snapshots.test.ts- New snapshot configTest plan
bun test apps/cli/test/cli-builder-sync.test.ts-- 355 pass, 0 failbun test apps/cli/test/rust-ecosystem.test.ts-- 112 pass, 0 fail (includes 3 new caching tests)bun test apps/cli/test/generate-reproducible-command.test.ts-- 5 pass, 0 failbun test apps/cli/test/template-snapshots.test.ts -u-- 66 pass, 0 failcargo checkpassescargo checkpassescargo checkpassescargo checkpasses