January 2019
Intermediate to advanced
520 pages
14h 32m
English
In the lambda_1 crate's folder, add the following dependencies to Cargo.toml:
[dependencies]chrono = "0.4"lambda_runtime = { git = "https://github.com/awslabs/aws-lambda-rust-runtime" }log = "0.4"rand = "0.6"rusoto_core = {version = "0.35.0", default_features = false, features=["rustls"]}rusoto_dynamodb = {version = "0.35.0", default_features = false, features=["rustls"]}serde = "1.0"serde_derive = "1.0"serde_json = "1.0"simple_logger = "1.0"uuid = { version = "0.7", features = ["v4"] }
If you read the previous chapters, you will be familiar with all crates from the list, including lambda_runtime, which we used in the previous section of this chapter. Let's look at the types in src/main.rs that we will use from this crate: ...
Read now
Unlock full access