Is there any GCP plan to support Rust as a language for Cloud Functions?

Hi there,

Out of curiosity, is there any plan to support RUST as a first-class citizen language in Google Functions?

Thanks

2 Likes

I haven’t heard of any rust support coming, but you could make use of cloudrun and deploy your rust code as a container. This is probably the best light-weight, serverless way at this time to run Rust Code.

There’s a useful article here, that could help you build the container, then all you’d need to do is deploy it to cloud run.

4 Likes

There’s also a kNative Rust “Hello World” sample to check out. Note the Cloud Run docs link to an older version of it.

2 Likes

Thanks !

1 Like

I was having a conversation with a friend about serverless rust the other day, and I thought about this discussion, maybe this is useful for those that find this post in the future.

I wrote a short blog and associated repo that demo’s how to run serverless rust. Hopefully it helps!

JK

2 Likes