This setting used by This Repository
- Rust
- lambda_http
- tokio
- serde_json
- Serverless
- serverless-rust
- dockerless
- default docker image's rust version is 1.43.1
- before 1.50 caused compile error
- Using husky
- pre-commit : cargo fmt
- Install aws cli
- setting
aws configure
- setting
- serverless-rust should setting
x86_64-unknown-linux-musl
- if you use
dockerless
option
- if you use
package.json
line 2 - project nameserverless.yml
line 1 - serviceserverless.yml
line 3 - providerserverless.yml
line 21 - functions
npm ci && npm run postinstall && npm run fmt:install
npm run test # cargo test
npm run deploy:dev
npm run deploy:qa
npm run deploy:prod
npm run fmt:install # install rustfmt
npm run fmt # formatting
npm run fmt:check # check lint