Crate rspc

Source
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§

legacylegacy
TODO: Explain how to do it.
middleware

Structs§

AsDate
DynInput
TODO
DynOutput
TODO
ErasedProcedure
Extension
Procedure
Represents a single operations on the server that can be executed.
ProcedureBuilder
ProcedureMeta
ProcedureStream
TODO
ProcedureStreamMap
Procedures
ResolverError
TODO
Router
TODO: Examples exporting types and with rspc_axum
State
Stream
Return a Stream of values from a Procedure::query or Procedure::mutation.
Types
Typescripttypescript

Enums§

ProcedureError
TODO
ProcedureKind

Traits§

Error
ResolverInput
TODO: Restore the above docs but check they are correct
ResolverOutput
TODO: bring back any correct parts of the docs above

Functions§

flush
TODO