-
Notifications
You must be signed in to change notification settings - Fork 359
/
Copy pathCargo.toml
63 lines (59 loc) · 2.24 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
[package]
name = "lambda_http"
version = "0.14.0"
authors = [
"David Calavera <dcalaver@amazon.com>",
"Harold Sun <sunhua@amazon.com>",
]
edition = "2021"
description = "Application Load Balancer and API Gateway event types for AWS Lambda"
keywords = ["AWS", "Lambda", "APIGateway", "ALB", "API"]
license = "Apache-2.0"
homepage = "https://github.com/awslabs/aws-lambda-rust-runtime"
repository = "https://github.com/awslabs/aws-lambda-rust-runtime"
documentation = "https://docs.rs/lambda_runtime"
categories = ["web-programming::http-server"]
readme = "README.md"
[features]
default = ["apigw_rest", "apigw_http", "apigw_websockets", "alb", "tracing"]
apigw_rest = []
apigw_http = []
apigw_websockets = []
alb = []
pass_through = []
tracing = ["lambda_runtime/tracing"] # enables access to the Tracing utilities
opentelemetry = ["lambda_runtime/opentelemetry"] # enables access to the OpenTelemetry layers and utilities
anyhow = ["lambda_runtime/anyhow"] # enables From<T> for Diagnostic for anyhow error types, see README.md for more info
eyre = ["lambda_runtime/eyre"] # enables From<T> for Diagnostic for eyre error types, see README.md for more info
miette = ["lambda_runtime/miette"] # enables From<T> for Diagnostic for miette error types, see README.md for more info
[dependencies]
base64 = { workspace = true }
bytes = { workspace = true }
encoding_rs = "0.8"
futures = { workspace = true }
futures-util = { workspace = true }
http = { workspace = true }
http-body = { workspace = true }
http-body-util = { workspace = true }
hyper = { workspace = true }
lambda_runtime = { version = "0.13.0", path = "../lambda-runtime" }
mime = "0.3"
percent-encoding = "2.2"
pin-project-lite = { workspace = true }
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", features = ["raw_value"] }
serde_urlencoded = "0.7"
tokio-stream = "0.1.2"
url = "2.2"
[dependencies.aws_lambda_events]
path = "../lambda-events"
version = "0.16.0"
default-features = false
features = ["alb", "apigw"]
[dev-dependencies]
axum-core = "0.5.0"
axum-extra = { version = "0.9.2", features = ["query"] }
lambda_runtime_api_client = { version = "0.11.1", path = "../lambda-runtime-api-client" }
log = "^0.4"
maplit = "1.0"
tokio = { version = "1.0", features = ["macros"] }