-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
61 lines (49 loc) · 1.2 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
cargo-features = ["strip"]
[package]
name = "sailfishos-chum-web-lambda"
description = ""
version = "0.2.0"
edition = "2018"
repository = ""
authors = [
"Petr Tsymbarovich <[email protected]"
]
[profile.release]
lto = true
# Cannot strip all due to Netlify runtime detection mechanics
# https://github.com/netlify/elf-cam/blob/820418876393d4b3e5e0a4591f2e28d864f8adfb/src/elf.rs#L25
strip = "debuginfo"
[[bin]]
name = "lambda"
required-features = ["lambda"]
[[bin]]
name = "server"
required-features = ["server"]
[features]
default = ["lambda"]
lambda = ["netlify_lambda_http", "aws_lambda_events"]
server = ["hyper/server"]
[dependencies]
flate2 = "1.0"
http = "0.2"
roxmltree = "0.14"
serde_json = "1.0"
regex = "1.5"
[dependencies.aws_lambda_events]
version = "0.4"
optional = true
[dependencies.hyper]
version = "0.14"
features = ["client", "tcp", "http1", "http2"]
[dependencies.hyper-tls]
version = "0.5"
features = ["vendored"]
[dependencies.netlify_lambda_http]
version = "0.2"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.tokio]
version = "1.12"
features = ["full"]