Skip to content

Commit cf1e3ef

Browse files
authored
Added homepage, docs, and repo to Cargo files (#6)
* Updated header values for provided runtime and switched to ms time remaining * Fixed issue with deadline not being set in context and switched to realtime clock to get correct epoch * Removed libc dependency and switched to chrono for deadline calculation * Fixed docs example not to import HttpRuntimeClient * New error reporting method with correct content type and error type header. * Two fixes to honor max retries in the get_next_event method and call the error_reponse rather than init_fail when an error is thrown after the call to /next * Added homepage, docs, and repo to Cargo files
1 parent b787b70 commit cf1e3ef

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

lambda-runtime-client/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ authors = ["Stefano Buliani", "David Barsky"]
55
description = "Client SDK for AWS Lambda's runtime APIs"
66
keywords = ["AWS", "Lambda", "Runtime", "API", "Client", "SDK"]
77
license = "Apache-2.0"
8+
homepage = "https://github.com/awslabs/aws-lambda-rust-runtime"
9+
repository = "https://github.com/awslabs/aws-lambda-rust-runtime"
10+
documentation = "https://docs.rs/lambda_runtime_client"
811

912
[dependencies]
1013
hyper = "0.12"
@@ -14,4 +17,4 @@ serde = "^1"
1417
serde_json = "^1"
1518
serde_derive = "^1"
1619
log = "0.4"
17-
backtrace = "0.3"
20+
backtrace = "0.3"

lambda-runtime/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ authors = ["Stefano Buliani", "David Barsky"]
55
description = "Rust runtime for AWS Lambda"
66
keywords = ["AWS", "Lambda", "Runtime", "Rust"]
77
license = "Apache-2.0"
8+
homepage = "https://github.com/awslabs/aws-lambda-rust-runtime"
9+
repository = "https://github.com/awslabs/aws-lambda-rust-runtime"
10+
documentation = "https://docs.rs/lambda_runtime"
811
build = "build.rs"
912

1013
[dependencies]
@@ -26,4 +29,4 @@ rusoto_dynamodb = "^0.35"
2629
skeptic = "^0.13"
2730

2831
[build-dependencies]
29-
skeptic = "^0.13"
32+
skeptic = "^0.13"

0 commit comments

Comments
 (0)