forked from awslabs/aws-lambda-web-adapter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
66 lines (62 loc) · 1.55 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[package]
name = "lambda_web_adapter"
version = "0.8.4"
authors = [
"Harold Sun <[email protected]>",
"David Calavera <[email protected]>",
]
edition = "2021"
description = "Run web applications on AWS Lambda"
keywords = ["AWS", "Lambda", "APIGateway", "ALB", "API"]
license = "Apache-2.0"
homepage = "https://github.com/awslabs/aws-lambda-web-adapter"
repository = "https://github.com/awslabs/aws-lambda-web-adapter"
documentation = "https://docs.rs/lambda_web_adapter"
categories = ["web-programming::http-server"]
readme = "README.md"
exclude = ["examples"]
[dependencies]
bytes = "1.5.0"
http = "1.0"
http-body = "1.0.0"
hyper = { version = "1.0", features = ["client"] }
hyper-util = "0.1.2"
lambda_http = { version = "0.9.3", default-features = false, features = [
"apigw_http",
"apigw_rest",
"alb",
"pass_through",
] }
serde_json = "1.0"
tokio = { version = "1.35", features = [
"macros",
"io-util",
"sync",
"rt-multi-thread",
"time",
] }
tokio-retry = "0.3"
tracing = { version = "0.1.40", features = ["log"] }
tracing-subscriber = { version = "0.3.17", default-features = false, features = [
"env-filter",
"fmt",
] }
tower = "0.4"
tower-http = { version = "0.5", features = ["compression-gzip"] }
url = "2.3"
[dev-dependencies]
flate2 = "1.0.25"
httpmock = "0.7.0"
http-body-util = "0.1.0"
http-body = "1.0"
hyper-rustls = "0.27"
aws-sigv4 = "1.2.3"
aws-credential-types = "1.2.0"
percent-encoding = "2.3.0"
[[bin]]
name = "lambda-adapter"
path = "src/main.rs"
[profile.release]
strip = true
lto = true
codegen-units = 1