#aws-lambda #diceware #applications

bin+lib dicers

支持 AWS Lambda 的 diceware 应用程序

2 个版本

0.2.1 2018 年 12 月 5 日
0.2.0 2018 年 12 月 5 日

#12#diceware

MIT 许可证

72KB
132

Dice.rs

使用 Rust 编写的 diceware 库,可选 AWS Lambda 支持。

部署到 Lambda

aws-lambda-rust-runtime 仓库的说明很有用。要为 Lambda 构建 dicers

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"

依赖项

~0.6–3MB
~50K SLoC