1:"$Sreact.fragment" 2:I[3361,["619","static/chunks/619-ba102abea3e3d0e4.js","558","static/chunks/app/layout-8ed3165a2efc4aed.js"],"default"] 3:I[8320,["619","static/chunks/619-ba102abea3e3d0e4.js","558","static/chunks/app/layout-8ed3165a2efc4aed.js"],"default"] 4:I[9766,[],""] 5:I[8924,[],""] 6:I[2619,["619","static/chunks/619-ba102abea3e3d0e4.js","876","static/chunks/app/guides/stemcode-rust-developers/page-0aa623f29d826b1a.js"],""] 7:I[9526,["619","static/chunks/619-ba102abea3e3d0e4.js","558","static/chunks/app/layout-8ed3165a2efc4aed.js"],"default"] 8:I[1503,["619","static/chunks/619-ba102abea3e3d0e4.js","558","static/chunks/app/layout-8ed3165a2efc4aed.js"],"default"] 9:I[2067,["619","static/chunks/619-ba102abea3e3d0e4.js","558","static/chunks/app/layout-8ed3165a2efc4aed.js"],"default"] a:I[271,["619","static/chunks/619-ba102abea3e3d0e4.js","558","static/chunks/app/layout-8ed3165a2efc4aed.js"],"default"] f:I[7150,[],""] :HL["/_next/static/css/a106fc8500d469f6.css","style"] 0:{"P":null,"b":"52mZGPOTbZG1yQUVMfwha","p":"","c":["","guides","stemcode-rust-developers"],"i":false,"f":[[["",{"children":["guides",{"children":["stemcode-rust-developers",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/a106fc8500d469f6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"children":["$","$L2",null,{"children":[["$","div",null,{"className":"scroll-progress","id":"scrollProgress"}],["$","$L3",null,{}],["$","main",null,{"id":"top","children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","section",null,{"className":"inner-hero","children":["$","div",null,{"className":"container","children":[["$","div",null,{"className":"inner-eyebrow reveal","children":[["$","span",null,{"children":"404"}],["$","i",null,{}],["$","span",null,{"children":"PAGE NOT FOUND"}]]}],["$","div",null,{"className":"inner-hero-copy reveal","children":[["$","h1",null,{"children":["This page took a wrong ",["$","em",null,{"children":"turn."}]]}],["$","p",null,{"children":"The address may have changed, or the page may no longer be available."}],["$","div",null,{"className":"inner-hero-actions","children":[["$","$L6",null,{"className":"btn primary","href":"/","children":"GO HOME"}],["$","$L6",null,{"className":"btn text","href":"/stemcode","children":"VIEW STEMCODE →"}]]}]]}]]}]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}],["$","$L7",null,{}],["$","footer",null,{"className":"site-footer","children":["$","div",null,{"className":"container footer-shell","children":[["$","div",null,{"className":"footer-brand-block","children":[["$","$L6",null,{"className":"brand brand-footer","href":"/","aria-label":"GrowBitLabs home","children":["$","img",null,{"className":"brand-logo","src":"/assets/logo.png","alt":"GrowBitLabs logo"}]}],["$","p",null,{"children":"Home of StemCode and GrowBit Convo. Local-first AI development, private AI infrastructure, and agent engineering."}]]}],["$","div",null,{"className":"footer-columns","children":[["$","nav",null,{"aria-label":"Solutions links","children":[["$","strong",null,{"children":"SOLUTIONS"}],["$","$L6",null,{"href":"/stemcode","children":"StemCode"}],["$","$L6",null,{"href":"/stemcode-survey","children":"StemCode Survey"}],["$","$L6",null,{"href":"/compare","children":"StemCode Comparisons"}],["$","$L6",null,{"href":"/growbit-convo","children":"GrowBit Convo"}],["$","$L6",null,{"href":"/open-models","children":"Open Models"}],["$","$L6",null,{"href":"/pricing","children":"Pricing"}],["$","$L6",null,{"href":"/enterprise","children":"Enterprise"}],["$","$L6",null,{"href":"/docs","children":"StemCode Docs"}],["$","$L6",null,{"href":"/guides","children":"Developer Guides"}]]}],["$","nav",null,{"aria-label":"Company links","children":[["$","strong",null,{"children":"COMPANY"}],["$","$L6",null,{"href":"/about","children":"About"}],["$","$L6",null,{"href":"/services","children":"Services"}],["$","$L6",null,{"href":"/contact","children":"Contact"}],["$","$L6",null,{"href":"/careers","children":"Careers"}],["$","$L6",null,{"href":"/press","children":"Press"}]]}],["$","nav",null,{"aria-label":"Legal links","children":[["$","strong",null,{"children":"LEGAL"}],["$","$L6",null,{"href":"/privacy","children":"Privacy Policy"}],["$","$L6",null,{"href":"/terms","children":"Terms of Service"}],["$","$L8",null,{}]]}],["$","nav",null,{"aria-label":"Social links","children":[["$","strong",null,{"children":"SOCIAL"}],["$","a",null,{"href":"https://www.linkedin.com/company/growbitlabs","target":"_blank","rel":"noopener noreferrer","children":"LinkedIn"}],["$","a",null,{"href":"https://www.facebook.com/growbitlabs/","target":"_blank","rel":"noopener noreferrer","children":"Facebook"}]]}]]}],["$","div",null,{"className":"footer-bottom","children":[["$","span",null,{"children":["(c) ",["$","span",null,{"id":"year"}]," GrowBitLabs"]}],["$","span",null,{"children":"StemCode + GrowBit Convo"}]]}]]}]}],["$","$L9",null,{}],["$","$La",null,{}]]}]}]}]]}],{"children":["guides",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["stemcode-rust-developers",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"BlogPosting\",\"headline\":\"StemCode for Rust Developers: Cargo, rust-analyzer, Async Services, Tests, and AI Coding\",\"description\":\"Use StemCode with Rust, Cargo workspaces, rust-analyzer, Tokio, Axum, Actix Web, tests, Clippy, refactoring, and repository-aware code review.\",\"datePublished\":\"2026-10-01\",\"dateModified\":\"2026-10-01\",\"author\":{\"@type\":\"Organization\",\"name\":\"GrowBitLabs\",\"url\":\"https://growbitlabs.com\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"GrowBitLabs\",\"url\":\"https://growbitlabs.com\"},\"mainEntityOfPage\":\"https://growbitlabs.com/guides/stemcode-rust-developers\",\"url\":\"https://growbitlabs.com/guides/stemcode-rust-developers\",\"keywords\":\"StemCode Rust, Rust AI coding agent, rust-analyzer AI coding, Cargo AI assistant, Rust code review AI, Rust refactoring AI\",\"about\":{\"@type\":\"SoftwareApplication\",\"name\":\"StemCode\",\"applicationCategory\":\"DeveloperApplication\",\"operatingSystem\":\"Windows, macOS, Linux\",\"url\":\"https://growbitlabs.com/stemcode\"}}"}}],"$Lb","$Lc"],null,"$Ld"]}],{},null,false]},null,false]},null,false]},null,false],"$Le",false]],"m":"$undefined","G":["$f",[]],"s":false,"S":true} 1b:I[4431,[],"OutletBoundary"] 1d:I[5278,[],"AsyncMetadataOutlet"] 1f:I[4431,[],"ViewportBoundary"] 21:I[4431,[],"MetadataBoundary"] 22:"$Sreact.suspense" b:["$","section",null,{"className":"inner-hero docs-hero","children":["$","div",null,{"className":"container","children":[["$","div",null,{"className":"inner-eyebrow reveal","children":[["$","$L6",null,{"href":"/guides","children":"RESOURCES / GUIDES"}],["$","i",null,{}],["$","span",null,{"children":"RUST"}]]}],["$","div",null,{"className":"inner-hero-copy reveal","children":[["$","h1",null,{"children":["StemCode for Rust Developers: AI Coding with ",["$","em",null,{"children":"Cargo, rust-analyzer, and explicit ownership."}]]}],["$","p",null,{"children":"Use StemCode with Rust, Cargo workspaces, rust-analyzer, Tokio, Axum, Actix Web, tests, Clippy, refactoring, and repository-aware code review."}],["$","div",null,{"className":"inner-hero-actions docs-hero-actions","children":[["$","a",null,{"className":"btn primary","href":"#setup","children":"START SETUP"}],["$","$L6",null,{"className":"btn text","href":"/stemcode","children":"EXPLORE STEMCODE →"}]]}],["$","div",null,{"className":"docs-meta-strip","aria-label":"Guide metadata","children":[["$","span",null,{"children":["PUBLISHED ","2026-10-01"]}],["$","span",null,{"children":"STEMCODE DEVELOPER GUIDE"}],["$","span",null,{"children":"LOCAL-FIRST AI CODING"}]]}]]}]]}]}] c:["$","section",null,{"className":"docs-layout section","children":["$","div",null,{"className":"container docs-shell docs-shell-wide","children":[["$","aside",null,{"className":"docs-sidebar","aria-label":"Guide table of contents","children":[["$","span",null,{"className":"toc-label","children":"GUIDE"}],["$","$L6",null,{"href":"/guides","children":"All developer guides"}],["$","$L6",null,{"href":"/stemcode","children":"StemCode overview"}],["$","$L6",null,{"href":"/docs","children":"StemCode docs"}],["$","span",null,{"className":"toc-label","children":"ON THIS PAGE"}],["$","a",null,{"href":"#agents-md","children":"AGENTS.md project instructions"}],[["$","a","#why",{"href":"#why","children":"Why StemCode"}],["$","a","#setup",{"href":"#setup","children":"Install and set up"}],["$","a","#project",{"href":"#project","children":"Project context"}],["$","a","#intelligence",{"href":"#intelligence","children":"Code intelligence"}],["$","a","#workflow",{"href":"#workflow","children":"Development workflow"}],["$","a","#validation",{"href":"#validation","children":"Build and test"}],["$","a","#memory",{"href":"#memory","children":"Project memory"}],["$","a","#review",{"href":"#review","children":"Review changes"}],["$","a","#faq",{"href":"#faq","children":"FAQ"}]]]}],["$","article",null,{"className":"docs-content","children":[["$","section",null,{"id":"agents-md","className":"docs-section reveal","children":[["$","span",null,{"children":"PROJECT INSTRUCTIONS / AGENTS.MD"}],["$","h2",null,{"children":"Give StemCode durable repository instructions before asking it to edit."}],["$","p",null,{"children":["Add an ",["$","code",null,{"children":"AGENTS.md"}]," file at the repository root for persistent project instructions. StemCode loads",["$","code",null,{"children":" AGENTS.md"}]," or ",["$","code",null,{"children":".agent/AGENTS.md"}]," from the workspace into the model context, so this is the right place for architecture boundaries, generated-file rules, coding conventions, validation expectations, and manual setup notes that should apply across sessions."]}],["$","div",null,{"className":"docs-note","children":[["$","b",null,{"children":"Keep AGENTS.md practical and repository-specific"}],["$","p",null,{"children":"Prefer concrete rules the agent can act on: where important source lives, what it must not edit, which patterns it should preserve, and which checks it should run after a change."}]]}],["$","pre",null,{"children":["$","code",null,{"children":"# Rust Project Instructions\n\nThis is a Rust project.\n\nImportant source and configuration paths:\n- Cargo.toml\n- Cargo.lock\n- crates/\n- src/\n- tests/\n- benches/\n- build.rs\n\nGenerated or disposable paths — do not modify:\n- target/\n- dist/\n- coverage/\n- temporary generated output\n\nFollow these rules:\n- Respect existing crate and module boundaries.\n- Do not edit target or generated build output.\n- Prefer existing error types and conversion patterns.\n- Avoid unnecessary clone, Arc, Mutex, and boxed trait objects.\n- Do not block the async runtime with synchronous I/O or heavy CPU work.\n- Run fmt, check, Clippy, and relevant tests before finishing.\n\nValidation:\n- cargo fmt --check\n- cargo check --workspace\n- cargo clippy --workspace --all-targets\n- cargo test --workspace"}]}],["$","p",null,{"children":"Commit the file with the project so the same instructions are reviewable and shared by everyone using StemCode in the repository."}]]}],[["$","section",null,{"id":"why","className":"docs-section reveal","children":[["$","span",null,{"children":"01 / WHY STEMCODE"}],["$","h2",null,{"children":"Use repository-aware AI without replacing the tools your stack already needs."}],["$","p",null,{"children":"StemCode works best when it can understand the repository around a task, inspect related files, use code intelligence where available, run the project's normal validation commands, and review the final diff before you accept a change."}],["$","div",null,{"className":"docs-callout docs-callout-strong","children":["$L10","$L11"]}]]}],"$L12","$L13","$L14",false,"$L15","$L16","$L17","$L18","$L19"],"$L1a"]}]]}]}] d:["$","$L1b",null,{"children":["$L1c",["$","$L1d",null,{"promise":"$@1e"}]]}] e:["$","$1","h",{"children":[null,[["$","$L1f",null,{"children":"$L20"}],null],["$","$L21",null,{"children":["$","div",null,{"hidden":true,"children":["$","$22",null,{"fallback":null,"children":"$L23"}]}]}]]}] 10:["$","strong",null,{"children":["GOOD FIT FOR ","RUST"," WORK"]}] 11:["$","p",null,{"children":"Rust applications, CLIs, services, libraries, Cargo workspaces, Tokio, Axum, Actix Web, serde, SQL clients, async systems, unit and integration tests, benchmarks, and normal Git workflows."}] 12:["$","section",null,{"id":"setup","className":"docs-section reveal","children":[["$","span",null,{"children":"02 / SETUP"}],["$","h2",null,{"children":"Install StemCode and open the project root."}],["$","p",null,{"children":"Start StemCode at the Cargo package or workspace root so manifests, lockfiles, crates, features, source, tests, build scripts, and Git history are available in one workspace."}],["$","div",null,{"className":"doc-command","children":[["$","b",null,{"children":"npm"}],["$","code",null,{"children":"npm install -g stemcode"}]]}],["$","div",null,{"className":"doc-command","children":[["$","b",null,{"children":"pnpm"}],["$","code",null,{"children":"pnpm add -g stemcode"}]]}],["$","pre",null,{"children":["$","code",null,{"children":["cd your-project","\n","stemcode","\n","/init"]}]}],["$","p",null,{"children":"Keep StemCode at the repository root so project instructions, source, configuration, tests, and Git history are visible from one workspace."}]]}] 13:["$","section",null,{"id":"project","className":"docs-section reveal","children":[["$","span",null,{"children":"03 / PROJECT CONTEXT"}],["$","h2",null,{"children":"Keep crate boundaries, features, source, and tests visible while excluding Cargo build output."}],["$","p",null,{"children":"Rust repositories often encode architecture through crates, features, traits, and ownership boundaries. Those files are valuable context; target output and generated artifacts generally are not."}],["$","div",null,{"className":"docs-grid-2","children":[["$","div",null,{"className":"docs-feature-card","children":[["$","span",null,{"children":"INSPECT"}],["$","h3",null,{"children":"Keep source-of-truth files visible."}],["$","pre",null,{"children":["$","code",null,{"children":"Cargo.toml\nCargo.lock\ncrates/\nsrc/\ntests/\nbenches/\nbuild.rs"}]}]]}],["$","div",null,{"className":"docs-feature-card","children":[["$","span",null,{"children":"IGNORE"}],["$","h3",null,{"children":"Skip generated or disposable output."}],["$","pre",null,{"children":["$","code",null,{"children":"target/\ndist/\ncoverage/\ntemporary generated output"}]}]]}]]}],["$","p",null,{"children":["Add generated paths to Git ignore rules or",["$","code",null,{"children":" .stemcode/.stemcodeignore"}]," so repository search stays focused."]}],["$","div",null,{"className":"docs-feature-card","children":[["$","span",null,{"children":"FIRST PROMPT"}],["$","h3",null,{"children":"Understand the project before changing it."}],["$","p",null,{"children":"Analyze this Rust repository. Map the Cargo workspace, crate responsibilities, feature flags, important traits and implementations, async runtime boundaries, persistence or network layers, tests, and build scripts. Do not modify files yet."}]]}]]}] 14:["$","section",null,{"id":"intelligence","className":"docs-section reveal","children":[["$","span",null,{"children":"04 / CODE INTELLIGENCE"}],["$","h2",null,{"children":"Use rust-analyzer to understand traits, types, references, and diagnostics."}],["$","p",null,{"children":"rust-analyzer is particularly valuable in Rust because behavior can be distributed across traits, implementations, generics, feature flags, and macro-heavy APIs."}],[["$","div","RUST-ANALYZER-Install rust-analyzer using your normal Rust toolchain or package manager",{"className":"doc-command","children":[["$","b",null,{"children":"RUST-ANALYZER"}],["$","code",null,{"children":"Install rust-analyzer using your normal Rust toolchain or package manager"}]]}]],["$","pre",null,{"children":["$","code",null,{"children":["/lsp refresh","\n","/lsp"]}]}],["$","div",null,{"className":"docs-note","children":[["$","b",null,{"children":"Use both semantic navigation and repository search"}],["$","p",null,{"children":"Use semantic navigation together with Cargo manifests and repository search. Feature flags, cfg attributes, proc macros, generated code, and workspace dependencies can change which code actually compiles in a target configuration."}]]}]]}] 15:["$","section",null,{"id":"workflow","className":"docs-section reveal","children":[["$","span",null,{"children":["05"," / DEVELOPMENT WORKFLOW"]}],["$","h2",null,{"children":"Make ownership, error, async, and crate boundaries explicit before editing."}],["$","p",null,{"children":"Ask StemCode to explain lifetimes and ownership only where they matter to the task, then preserve the project’s existing patterns for errors, async execution, traits, and dependency injection rather than adding abstraction for its own sake."}],["$","div",null,{"className":"docs-grid-2","children":[["$","div","Trace an async request",{"className":"docs-feature-card","children":[["$","span",null,{"children":"ASYNC"}],["$","h3",null,{"children":"Trace an async request"}],["$","p",null,{"children":"Trace this request through the Axum or Actix handler, extractors, service layer, async calls, persistence, errors, and tests. Identify blocking work, cancellation assumptions, and shared-state boundaries before editing."}]]}],["$","div","Refactor a trait safely",{"className":"docs-feature-card","children":[["$","span",null,{"children":"TRAITS"}],["$","h3",null,{"children":"Refactor a trait safely"}],["$","p",null,{"children":"Find every implementation and caller of this trait, including generic bounds. Explain object-safety, public API, and crate-boundary impact before proposing a staged refactor."}]]}],["$","div","Preserve error context",{"className":"docs-feature-card","children":[["$","span",null,{"children":"ERRORS"}],["$","h3",null,{"children":"Preserve error context"}],["$","p",null,{"children":"Review this error path for lost source errors, over-broad mapping, user-facing leakage, and inconsistent conversion between domain and transport errors."}]]}],["$","div","Review allocation and locking",{"className":"docs-feature-card","children":[["$","span",null,{"children":"PERFORMANCE"}],["$","h3",null,{"children":"Review allocation and locking"}],["$","p",null,{"children":"Inspect this hot path for unnecessary clones, allocations, lock contention, blocking calls inside async tasks, and avoidable serialization work."}]]}]]}]]}] 16:["$","section",null,{"id":"validation","className":"docs-section reveal","children":[["$","span",null,{"children":["06"," / BUILD AND TEST"]}],["$","h2",null,{"children":"Use Cargo’s formatter, checker, linter, tests, and build as the validation loop."}],["$","p",null,{"children":"Cargo provides a consistent baseline. Repositories may add feature matrices, nextest, deny checks, database setup, integration environments, or platform-specific targets through scripts and CI."}],[["$","div","FORMAT-cargo fmt --check",{"className":"doc-command","children":[["$","b",null,{"children":"FORMAT"}],["$","code",null,{"children":"cargo fmt --check"}]]}],["$","div","CHECK-cargo check --workspace",{"className":"doc-command","children":[["$","b",null,{"children":"CHECK"}],["$","code",null,{"children":"cargo check --workspace"}]]}],["$","div","CLIPPY-cargo clippy --workspace --all-targets",{"className":"doc-command","children":[["$","b",null,{"children":"CLIPPY"}],["$","code",null,{"children":"cargo clippy --workspace --all-targets"}]]}],["$","div","TEST-cargo test --workspace",{"className":"doc-command","children":[["$","b",null,{"children":"TEST"}],["$","code",null,{"children":"cargo test --workspace"}]]}]],["$","p",null,{"children":"Respect the repository’s feature combinations and target matrix. Begin with the affected crate and feature set, then broaden to the workspace after focused checks pass."}],["$","pre",null,{"children":["$","code",null,{"children":"Run the smallest relevant validation first. If it passes, run the broader project checks and review the final diff."}]}]]}] 17:["$","section",null,{"id":"memory","className":"docs-section reveal","children":[["$","span",null,{"children":["07"," / PROJECT MEMORY"]}],["$","h2",null,{"children":"Keep longer-lived architecture context alongside your project instructions."}],["$","p",null,{"children":["Use ",["$","code",null,{"children":"AGENTS.md"}]," for concise rules the agent should follow on every task. Keep longer architecture notes, domain context, and workflow references in repository-level StemCode memory so both stay reviewable and versionable."]}],["$","pre",null,{"children":["$","code",null,{"children":"Respect existing crate and module boundaries.\nDo not edit target or generated build output.\nPrefer existing error types and conversion patterns.\nAvoid unnecessary clone, Arc, Mutex, and boxed trait objects.\nDo not block the async runtime with synchronous I/O or heavy CPU work.\nRun fmt, check, Clippy, and relevant tests before finishing."}]}]]}] 18:["$","section",null,{"id":"review","className":"docs-section reveal","children":[["$","span",null,{"children":["08"," / REVIEW"]}],["$","h2",null,{"children":"Review the change in terms of your stack, not only the generated code."}],["$","p",null,{"children":"Ask StemCode to inspect its own diff and check the integration points that are easiest to miss in a repository-wide change."}],["$","pre",null,{"children":["$","code",null,{"children":"- ownership and lifetime correctness\n- unnecessary clones and allocations\n- Send/Sync and shared-state assumptions\n- blocking work in async contexts\n- error context and conversions\n- feature-flag compatibility\n- public crate API impact\n- fmt, Clippy, check, and test results"}]}]]}] 19:["$","section",null,{"id":"faq","className":"docs-section reveal","children":[["$","span",null,{"children":["09"," / FAQ"]}],["$","h2",null,{"children":"Common setup questions."}],[["$","$1","Does this cover Axum, Actix Web, and Tokio?",{"children":[["$","h3",null,{"children":"Does this cover Axum, Actix Web, and Tokio?"}],["$","p",null,{"children":"Yes. The guide keeps framework-specific routing and runtime behavior in context while treating Cargo, crate boundaries, traits, errors, and tests as the underlying repository workflow."}]]}],["$","$1","Should target be indexed?",{"children":[["$","h3",null,{"children":"Should target be indexed?"}],["$","p",null,{"children":"No in normal development. target is generated build output and can be extremely large. Keep manifests, source, tests, build scripts, and reviewed generated source visible instead."}]]}],["$","$1","Can StemCode help with borrow-checker errors?",{"children":[["$","h3",null,{"children":"Can StemCode help with borrow-checker errors?"}],["$","p",null,{"children":"It can inspect the surrounding types, ownership flow, trait bounds, and compiler diagnostics. The best workflow is to keep the compiler in the loop and prefer a design fix over adding clones simply to silence an error."}]]}]]]}] 1a:["$","section",null,{"className":"docs-section reveal","children":[["$","span",null,{"children":"NEXT STEP"}],["$","h2",null,{"children":"Put StemCode to work in a real repository."}],["$","p",null,{"children":"Install StemCode, open the project you already work in, and begin with a repository-understanding task before asking the agent to change code. That gives the model better context and keeps the workflow reviewable."}],["$","div",null,{"className":"docs-grid-2 docs-spaced","children":[["$","div",null,{"className":"docs-feature-card","children":[["$","span",null,{"children":"INSTALL"}],["$","h3",null,{"children":"Start with the CLI."}],["$","pre",null,{"children":["$","code",null,{"children":["npm install -g stemcode","\n","cd your-project","\n","stemcode"]}]}]]}],["$","div",null,{"className":"docs-feature-card","children":[["$","span",null,{"children":"LEARN"}],["$","h3",null,{"children":"Go deeper."}],["$","p",null,{"children":"Read the full StemCode documentation for providers, permissions, LSP integrations, memory, MCP, CI review, and advanced workspace configuration."}],["$","$L6",null,{"className":"inline-arrow","href":"/docs","children":"READ THE DOCS →"}]]}]]}]]}] 20:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#f4f5f0"}]] 1c:null 24:I[622,[],"IconMark"] 1e:{"metadata":[["$","title","0",{"children":"StemCode for Rust Developers: Cargo, rust-analyzer, Async Services, Tests, and AI Coding | GrowBitLabs"}],["$","meta","1",{"name":"description","content":"Use StemCode with Rust, Cargo workspaces, rust-analyzer, Tokio, Axum, Actix Web, tests, Clippy, refactoring, and repository-aware code review."}],["$","meta","2",{"name":"keywords","content":"StemCode Rust,Rust AI coding agent,rust-analyzer AI coding,Cargo AI assistant,Rust code review AI,Rust refactoring AI"}],["$","meta","3",{"name":"robots","content":"index, follow"}],["$","meta","4",{"name":"googlebot","content":"index, follow"}],["$","link","5",{"rel":"canonical","href":"https://growbitlabs.com/guides/stemcode-rust-developers"}],["$","meta","6",{"property":"og:title","content":"StemCode for Rust Developers: Cargo, rust-analyzer, Async Services, Tests, and AI Coding"}],["$","meta","7",{"property":"og:description","content":"Use StemCode with Rust, Cargo workspaces, rust-analyzer, Tokio, Axum, Actix Web, tests, Clippy, refactoring, and repository-aware code review."}],["$","meta","8",{"property":"og:url","content":"https://growbitlabs.com/guides/stemcode-rust-developers"}],["$","meta","9",{"property":"og:type","content":"article"}],["$","meta","10",{"property":"article:published_time","content":"2026-10-01"}],["$","meta","11",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","12",{"name":"twitter:title","content":"StemCode for Rust Developers: Cargo, rust-analyzer, Async Services, Tests, and AI Coding"}],["$","meta","13",{"name":"twitter:description","content":"Use StemCode with Rust, Cargo workspaces, rust-analyzer, Tokio, Axum, Actix Web, tests, Clippy, refactoring, and repository-aware code review."}],["$","link","14",{"rel":"icon","href":"/assets/fav.png","sizes":"196x186","type":"image/png"}],["$","link","15",{"rel":"apple-touch-icon","href":"/assets/fav.png","sizes":"196x186","type":"image/png"}],["$","$L24","16",{}]],"error":null,"digest":"$undefined"} 23:"$1e:metadata"