Pages project (with functions) written in rust
I would like to continuing using rust in the front-end aspect of my project (using workers and DO already via workers-rs), and I am interested in using Pages, with Functions.
Does anyone know how much can be done using any rust-based web framework, or workers-rs to write functions, etc?
I'm just trying to understand any "rustiness" available in Pages with Functions before getting started, as otherwise I might go with a different option (e.g. a rust web project deployed elsewhere).
8 Replies
@Cloudflare (Server Owner) and @Community Champion, I'm also interested in using Rust for functions in Pages. Is this possible?
?pings
?pings
Please do not ping community members for non-moderation reasons. Doing so will not solve your issue faster and will make people less likely to want to help you.
Please do not ping community members for non-moderation reasons. Doing so will not solve your issue faster and will make people less likely to want to help you.
?pings
Please do not ping community members for non-moderation reasons. Doing so will not solve your issue faster and will make people less likely to want to help you.
poor OP never got a response. Functions do support WASM now (https://blog.cloudflare.com/pages-functions-with-webassembly), but I don't believe any tooling is around using them, like no workers-rs support, would have to hack it together yourself, might make more sense to just deploy a Worker and use Service Bindings in Pages to get it over, or maybe advanced mode in Pages which is like Workers, would just need the env.Assets.fetch stuff
Sorry for the non-moderation pings!