If you want to write a custom handler for Azure Functions in Rust, but don't know where to begin, the best place to start is this document on Microsoft Docs:
However, if you've followed the tutorial, but it's been a while and you've forgotten all the necessary steps and you just want something scaffolded out for you, there's nothing that really does that. In December, I opened this issue on the Azure Functions Core Tools repo:
So, the core tools don't yet support the kind of extensibility one might desire for adding templates like this. I've been interested in working on the issue opened to address this, but for now I've created this repo:
rust-function-template I'm terrible at naming
which lets you use cargo generate to scaffold out a custom handler for Azure Functions that's based on the tutorial linked above.
To use it is as simple as,
cargo generate --git https://github.com/seeplusplus/rust-function-template