-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
33 lines (28 loc) · 965 Bytes
/
Cargo.toml
File metadata and controls
33 lines (28 loc) · 965 Bytes
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
[package]
name = "sls_rust_minimal"
version = "1.0.0"
authors = ["Christian Kjaer <[email protected]>"]
edition = "2018"
readme = "README.md"
license = "MIT OR Apache-2.0"
[lib]
name = "lib"
path = "src/lib.rs"
[[bin]]
name = "bootstrap"
path = "src/bin/bootstrap.rs"
[profile.release]
panic = 'abort' # Less code to include into binary.
codegen-units = 1 # Optimization over all codebase (better optimization, slower build).
opt-level = 'z' # Optimization for size (or 's' for a less aggressiv alternative).
lto = true # Link time optimization using using whole-program analysis.
[dependencies]
# Until the original project starts moving again, we'll rely on Netlify's fork, which is
# maintained. See https://github.com/awslabs/aws-lambda-rust-runtime/issues/274 for more.
lambda = { package = "netlify_lambda", version = "0.2.0" }
tokio = "1.0.1"
serde = "1.0.118"
serde_derive = "1.0.118"
serde_json = "1.0.61"
[dev-dependencies]
pretty_assertions = "0.6.1"