This documentation is deprecated. It covers rspc 0.3.0, which is no longer maintained.

Read the latest docs

Plugins

Extension options for rspc 0.3.0.

rspc 0.3.0 does not include a finished plugin system for OpenAPI, an API playground, or authentication. Earlier plans for those features are not installation instructions.

Extend an application

  • Use middleware for authentication checks, context changes, and shared resolver behavior.
  • Use router merging to group procedures by feature.
  • Use your web framework for ordinary HTTP routes, response headers, and authentication endpoints.

The experimental rewrite contains separate extension crates, but they are not drop-in plugins for 0.3.0. Do not install them into a 0.3.0 application without porting and testing the integration.