Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,20 @@ async fn func(event: LambdaEvent<Value>) -> Result<Value, Error> {
}
```

To run this function, you need the `lambda_runtime`, `serde_json` and `tokio` crates. An example `Cargo.toml` looks like this:

```
[package]
name = "basic"
version = "0.0.1
edition = "2018"

[dependencies]
lambda_runtime = "*"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm using "*" to avoid having to update this README everytime a new version is released.

serde_json = "*
tokio = "*

```
## Building and deploying your Lambda functions

There are currently multiple ways of building this package: manually with the AWS CLI, with [AWS SAM](https://github.com/aws/aws-sam-cli), and with the [Serverless framework](https://serverless.com/framework/).
Expand Down