-
Notifications
You must be signed in to change notification settings - Fork 359
/
Copy pathCargo.toml
70 lines (67 loc) · 2.31 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
67
68
69
70
[package]
name = "lambda_runtime"
version = "0.13.0"
authors = [
"David Calavera <dcalaver@amazon.com>",
"Harold Sun <sunhua@amazon.com>",
]
description = "AWS Lambda Runtime"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/awslabs/aws-lambda-rust-runtime"
categories = ["web-programming::http-server"]
keywords = ["AWS", "Lambda", "API"]
readme = "../README.md"
[features]
default = ["tracing"]
tracing = ["lambda_runtime_api_client/tracing"] # enables access to the Tracing utilities
opentelemetry = ["opentelemetry-semantic-conventions"] # enables access to the OpenTelemetry layers and utilities
anyhow = ["dep:anyhow"] # enables From<T> for Diagnostic for anyhow error types, see README.md for more info
eyre = ["dep:eyre"] # enables From<T> for Diagnostic for eyre error types, see README.md for more info
miette = ["dep:miette"] # enables From<T> for Diagnostic for miette error types, see README.md for more info
[dependencies]
anyhow = { version = "1.0.86", optional = true }
async-stream = "0.3"
base64 = { workspace = true }
bytes = { workspace = true }
eyre = { version = "0.6.12", optional = true }
futures = { workspace = true }
http = { workspace = true }
http-body = { workspace = true }
http-body-util = { workspace = true }
http-serde = { workspace = true }
hyper = { workspace = true, features = ["http1", "client"] }
hyper-util = { workspace = true, features = [
"client",
"client-legacy",
"http1",
"tokio",
] }
lambda_runtime_api_client = { version = "0.11.1", path = "../lambda-runtime-api-client", default-features = false }
miette = { version = "7.2.0", optional = true }
opentelemetry-semantic-conventions = { version = "0.28", optional = true, features = ["semconv_experimental"] }
pin-project = "1"
serde = { version = "1", features = ["derive", "rc"] }
serde_json = "^1"
serde_path_to_error = "0.1.11"
tokio = { version = "1.0", features = [
"macros",
"io-util",
"sync",
"rt-multi-thread",
] }
tokio-stream = "0.1.2"
tower = { workspace = true, features = ["util"] }
tower-layer = { workspace = true }
tracing = { version = "0.1", features = ["log"] }
[dev-dependencies]
httpmock = "0.7.0"
hyper-util = { workspace = true, features = [
"client",
"client-legacy",
"http1",
"server",
"server-auto",
"tokio",
] }
pin-project-lite = { workspace = true }