2 releases
0.2.1 | Dec 5, 2018 |
---|---|
0.2.0 | Dec 5, 2018 |
#836 in #build
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–7.5MB
~50K SLoC