Re-introduce http::router (opt-in)#148
Conversation
Signed-off-by: Brian Hardock <brian.hardock@fermyon.com>
|
I am confused. There are a gazillion Rust routers, and they all now work with Spin because of the |
|
I share the same feeling but unfortunately after surveying the ecosystem I see alot of framework specific routers. Im sure there are other that are more general but the uptake of these pales in comparison to the hyper /Tokio specific crates. Another benefit to providing a simple bultin is that it should ease migration of apps from pre v6. |
|
Love to see the re-introduction of the Spin HTTP router as it streamlines the DX for developers exploring Spin with little Rust knowledge. Making the router optional, and adding a "idiomatic / common Router from the Rust ecosystem" would align with the JS/TS experience: spin new foo-bar -t http-rust
Description []: Simple Sample
HTTP Path [/...]:
HTTP Router:
> spin
axum
none |
No description provided.