specta-rs / specta

Easily export your Rust types to other languages
MIT License
255 stars 37 forks source link

Axum integration #73

Open Brendonovich opened 1 year ago

Brendonovich commented 1 year ago

idk what it would look like but axum-specta should exists in a similar vein to tauri-specta

oscartbeaumont commented 1 year ago

I love the general idea but typing HTTP is hard and I think that means the solution will be opinioned and that I don't like that because it starts getting into rspc realm of having to solve all problems.

I also think doing some with httpz instead of Axum would also be nice so it can be used with any framework although idk if that would be practical.

If this was done correctly it would probably end up as rspc-lite which I would personally really like as it avoids the "everything" framework problem I think rspc falls into.