index : rust-template
Feature rich rust template
about summary refs log tree commit diff

Diffstat (limited to 'Cargo.toml')

-rw-r--r-- Cargo.toml 34
 1 file changed, 34 insertions(+)

diff --git a/Cargo.toml b/Cargo.toml
new file mode 100644
index 0000000..8ce2906 100644
--- /dev/null
+++ b/Cargo.toml
@@ -1,0 +1,34 @@
[package]
name = "{{project-name}}"
version = "0.1.0"
license = "{{license}}"
description = "{{description}}"
authors = ["Yousef Al-Harbi <yousefalharby416@gmail.com>"]
repository = "https://github.com/y2w8/{{project-name}}"
edition = "2024"
rust-version = "1.96.0"
readme = "README.md"
exclude = [
    ".github/",
    ".gitignore",
    "./assets/",
    "./release.toml",
    "./cliff.toml",
    "./justfile",
]

[dependencies]

[lints.rust]
unsafe_code = "forbid"

[lints.clippy]
all = { level = "warn", priority = -1 }
dbg_macro = "warn"
todo = "warn"
unwrap_used = "warn"

[profile.release]
lto = true
codegen-units = 1
strip = true