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:

```sh 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/x8664-linux-musl-gcc / usr/local/bin/musl-gcc cargo build --release --target x8664-unknown-linux-musl --features "lambda" ```