61 lines
1.2 KiB
TOML
61 lines
1.2 KiB
TOML
cargo-features = ["codegen-backend"]
|
|
|
|
[package]
|
|
name = "git-heatmap"
|
|
version = "1.3.0"
|
|
edition = "2021"
|
|
authors = ["Wynd <wyndftw@proton.me>"]
|
|
description = "A simple and customizable heatmap for git repos"
|
|
readme = "README.md"
|
|
repository = "https://codeberg.org/WyndFTW/git-heatmap"
|
|
license = "GPL-3.0-or-later"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[lib]
|
|
name = "libgitheatmap"
|
|
path = "src/lib.rs"
|
|
bench = false
|
|
|
|
[lints.rust]
|
|
unsafe_code = { level = "forbid" }
|
|
|
|
[dependencies]
|
|
gix = { version = "0.70.0", default-features = false, features = [
|
|
"mailmap",
|
|
"parallel",
|
|
] }
|
|
clap = { version = "4.5.26", features = ["derive"] }
|
|
chrono = { version = "0.4.39" }
|
|
itertools = { version = "0.14.0" }
|
|
anyhow = { version = "1.0.95" }
|
|
rayon = { version = "1.10.0" }
|
|
|
|
[dev-dependencies]
|
|
divan = { version = "0.1.17" }
|
|
mockd = { version = "0.4.35", features = [
|
|
"datetime",
|
|
"words",
|
|
"name",
|
|
"contact",
|
|
] }
|
|
|
|
[[bench]]
|
|
name = "commits"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "heatmap"
|
|
harness = false
|
|
|
|
[profile.dev]
|
|
codegen-backend = "cranelift"
|
|
lto = false
|
|
incremental = true
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
strip = true
|
|
lto = true
|
|
codegen-units = 1
|