oscartbeaumont / rspc

A framework for building typesafe web backends in Rust
https://rspc.dev
MIT License
1.1k stars 50 forks source link

DUMP #290

Open oscartbeaumont opened 2 days ago

oscartbeaumont commented 2 days ago

This is an old document in my notes that I wanna dump here. Will think about it again in the furture so that all of it will a pound of salt.

 - Drop `AsyncRuntime`
 - Remove `SealedLayer`
 - Backport lite PR

 - Upgrade Specta + Tauri Specta to crates.io releases

 - Avoid needing all features in `rspc-core`???

 - Batching without async runtime??? + Remove `AsyncRuntime`
 - Drop usage of `futures::mpsc` in the core???

 - Update httpz deps and re-release
 - Managing consistent versioning with other rspc crates
 - Cargo docs use rspc logo

 - Go through `rspc-core` and remove as much as possible
 - Backport changes from `lite` branch

 - Streaming HTTP body semantics with middleware
 - Using Vitest on the frontend instead of the Astro example

 - Properly capture panics in procedures
 - A macro for easily calling rspc procedures in unit test-style senarioes + use it internally for testing.

 - Can we drop official tracing integration and instead have hooks and some generic `T` for holding the span somewhere

 - Unit testing panics with procedures and checking they actually always resolve and catch the panic internally -> Super important they are catched when we get to batching

 - Document semantic of when `ctx_fn` is called

 - Stop using `oneshot` for shutdown