index : rust-template
Feature rich rust template
about summary refs log tree commit diff
rust-template / Cargo.toml
-rw-r--r-- blob 8ce290628672237c57166b458b8814e7b686bc91 636 bytes (plain)
1
[package]
2
name = "{{project-name}}"
3
version = "0.1.0"
4
license = "{{license}}"
5
description = "{{description}}"
6
authors = ["Yousef Al-Harbi <yousefalharby416@gmail.com>"]
7
repository = "https://github.com/y2w8/{{project-name}}"
8
edition = "2024"
9
rust-version = "1.96.0"
10
readme = "README.md"
11
exclude = [
12
    ".github/",
13
    ".gitignore",
14
    "./assets/",
15
    "./release.toml",
16
    "./cliff.toml",
17
    "./justfile",
18
]
19
20
[dependencies]
21
22
[lints.rust]
23
unsafe_code = "forbid"
24
25
[lints.clippy]
26
all = { level = "warn", priority = -1 }
27
dbg_macro = "warn"
28
todo = "warn"
29
unwrap_used = "warn"
30
31
[profile.release]
32
lto = true
33
codegen-units = 1
34
strip = true