jorgebastida / gordon

λ Gordon is a tool to create, wire and deploy AWS Lambdas using CloudFormation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rust Support

Fleshgrinder opened this issue · comments

I literally just stumbled upon your project and had a look at the supported programming languages while asking myself, why not Rust? Well, here I am asking you this exact question. 😺

It would be pretty much the same as the golang example:
https://github.com/jorgebastida/gordon/tree/master/examples/go

AWS Lambda doesn't have native support for Rust so you'd use js or python to invoke the binary you upload.

@Fleshgrinder , you could run something like docker run -it --rm -v "$(pwd):/rust" scorpil/rust:nightly cargo build --release followed by your regular gordon deployment.