#aws-lambda #diceware #applications

bin+lib dicers

A diceware application with support for AWS Lambda

2 releases

0.2.1 Dec 5, 2018
0.2.0 Dec 5, 2018

#12 in #diceware

MIT license

72KB
132 lines

Dice.rs

A diceware library written in Rust, with optional AWS Lambda support.

Deploying to Lambda

The instructions on the aws-lambda-rust-runtime repo are useful to get up and running. To build dicers for Lambda:

rustup target add x86_64-unknown-linux-musl
# For macOS users
brew install filosottile/musl-cross/musl-cross
# link the installed cross-compiler to a name that `rustc` expects
ln -s /usr/local/bin/x86_64-linux-musl-gcc / usr/local/bin/musl-gcc
cargo build --release --target x86_64-unknown-linux-musl --features "lambda"

Dependencies

~0.6–3MB
~50K SLoC