diff --git a/README.md b/README.md index 27be42e0..45c608ce 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,20 @@ async fn func(event: LambdaEvent) -> Result { } ``` +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 = "*" +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/).