Rust Alternative to FastAPI

I have been working on building out an IDENTY Management system for use by a Rust based ERP system.

My frustrations with the likes of Actix, Axum and others have led me to a ‘fuck it all, fuck it all moment’!

I decided to revisit how one could handle API serving.

Would love some feedback, maybe the project might be of interest to more than myself!

Looks pretty impressive, I am going to test this out!

@ArchChem I have been tied up working on a db pooling system, but I will get back to it soon.

Right now it will dispatch requests to a handler, there is an example to an echo handler.

I plan to turn the manually setup dispatch to be entirely dynamic from the openAPI doc.

Quite a bit more to be done but it should be fun.

There is a wrapper project which you can find at GitHub - microscaler/photon: Photon is a convenient web framework for rust developers built on top of a non blocking coroutine paradigm

It has no code in it but gives an idea of the overall objectives.

All this will be even better when rust finally implements the gen keyword, and hopefully to the same ease of use as with Python generators and Co-Routines

Recently implemented code generation for routes and handlers.
Next is ensuring code generation includes typed handlers and structs and then hot reloading and code gen on any update to the openAPI spec.
At which point I will get the doc book completed and the crate published.

I would love to get some reviews and feedback on what else we can include!