Goal is to allow to write business logic in Lean.
Then let Rust handle the dirty parts like HTTP Server, interacting with Postgres, or Redis, etc.
Idea is that you will build your application in Lean, but use libraries bound to Rust packages.
Currently backend schema is built with macros in Common/Postgres derivation.
-
Ability to run small Axum HTTP Server as a Lean library. Way to write your endpoint handlers code as Lean functions.
-
Ability to interact with Postgres server with SQLx Lean library.
I have multiple attempts at this, you can find my .NET / Rust and TypeScript attempts from other repositories. I also had earlier Lean implementation, but was inspired to try again.