generated from Jak2k/htmx-rust-tera-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
30 lines (25 loc) · 770 Bytes
/
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
[package]
name = "htmx-rust-tera-template"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
actix-web = "4.4.1"
actix-files = "0.6.5"
tera = "1.19.1"
serde = { version = "1.0.195", features = ["derive"] }
color-eyre = "0.6.2"
lazy_static = "1.4.0"
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
enum_glob_use = "deny"
pedantic = "deny"
nursery = "deny"
unwrap_used = "allow" # to make it less annoying to get started
[profile.release]
#opt-level = 'z' # Optimize for size.
lto = true # Enable Link Time Optimisation
codegen-units = 1 # Reduced to increase optimisations.
panic = 'abort' # Abort on panic
#strip = "symbols" # Strip symbols from binary