Rust is not officially supported by Lambda. Aside from using Rust modules wrapped inside a supported runtime, there's a neat "hijacking" of Golang support, which mimics the Go RPC stack inside a pure Rust binary. The Lambda machinery is none the wiser, and doesn't care.