jorgebastida / gordon

λ Gordon is a tool to create, wire and deploy AWS Lambdas using CloudFormation
Other
2.05k stars 137 forks source link

Rust Support #122

Open Fleshgrinder opened 7 years ago

Fleshgrinder commented 7 years ago

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. 😺

ahl commented 7 years ago

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.

astewart-twist commented 7 years ago

@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.