Expand description
rspc is a framework for building typesafe web backends in Rust.
Powered by Specta’s powerful language exporting, rspc comes with integrations for Axum and Tauri out of the box. This project brings the next level developer experience inspired by tRPC to your Rust stack.
§WARNING
Checkout the official docs at https://rspc.dev. This documentation is generally written for authors of middleware and adapter.
Modules§
- legacy
legacy
- TODO: Explain how to do it.
- middleware
Structs§
- AsDate
- DynInput
- TODO
- DynOutput
- TODO
- Erased
Procedure - Extension
- Procedure
- Represents a single operations on the server that can be executed.
- Procedure
Builder - Procedure
Meta - Procedure
Stream - TODO
- Procedure
Stream Map - Procedures
- Resolver
Error - TODO
- Router
- TODO: Examples exporting types and with
rspc_axum
- State
- Stream
- Return a
Stream
of values from aProcedure::query
orProcedure::mutation
. - Types
- Typescript
typescript
Enums§
Traits§
- Error
- Resolver
Input - TODO: Restore the above docs but check they are correct
- Resolver
Output - TODO: bring back any correct parts of the docs above
Functions§
- flush
- TODO