SkillsMay 14, 2026·1 min read

RustAPI — 5-Line Rust APIs with OpenAPI

RustAPI trims production Rust endpoints to a 5-line starter pattern; verified 50 stars, Apache-2.0, replay tooling, and built-in OpenAPI docs at `/docs`.

Agent ready

This asset can be read and installed directly by agents

TokRepo exposes a universal CLI command, install contract, metadata JSON, adapter-aware plan, and raw content links so agents can judge fit, risk, and next actions.

Native · 98/100Policy: allow
Agent surface
Any MCP/CLI agent
Kind
Skill
Install
Single
Trust
Trust: Established
Entrypoint
Asset
Universal CLI install command
npx tokrepo install 8796ffa3-b92f-577f-a8d9-b08de671988a
Intro

RustAPI trims production Rust endpoints to a 5-line starter pattern; verified 50 stars, Apache-2.0, replay tooling, and built-in OpenAPI docs at /docs.

Best for: Rust backend builders who want generated docs and replay/debug helpers without large framework boilerplate

Works with: Tokio-based Rust services, OpenAPI consumers, health probes, and replay-based debugging

Setup time: 10-20 minutes

Main

  • The README shows RustApi::auto() collecting macro routes, generating docs, and starting a runtime, which is a concrete dev-UX claim.
  • Replay tooling with cargo rustapi replay list/run/diff makes it more than another terse Rust framework.
  • This is the smallest repo in the set at 50 stars, so the listing stays factual and conservative.

FAQ

  • Is it already an MCP framework?: No. MCP appears in the roadmap; current value is API generation and replay tooling.
  • What should I verify first?: Build a hello route and open /docs.
  • Why include a 50-star repo?: Fresh activity and unusually concrete debugging ergonomics.
🙏

Source & Thanks

Source: https://github.com/Tuntii/RustAPI > License: Apache-2.0 > GitHub stars: 50 · forks: 3

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets