[package]
name = "dofus-dmg-calculator"
version = "1.1.1"
edition = "2024"
description = "Compute an estimation of Dofus spells' output damage"
authors = ["Patacode <pata.codegineer@gmail.com>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Patacode/dofus-dmg-calculator"
documentation = "https://docs.rs/crate/dofus-dmg-calculator"
keywords = ["dofus", "damage", "calculator", "utility", "spell"]
categories = ["games", "command-line-utilities"]

[dependencies]
clap = { version = "4.5.32", default-features = false, features = ["std", "help", "color", "error-context", "derive", "usage"] }

[dev-dependencies]
criterion = { version = "0.5.1", features = ["html_reports"] }
test_bin = "0.4.0"

[package.metadata.release]
pre-release-commit-message = "chore: prepare for release v{{version}}"
tag-message = "Release {{crate_name}} version {{version}}"
pre-release-replacements = [
  {file="README.md", search="\\d+\\.\\d+\\.\\d+", replace="{{version}}"},
  {file="CHANGELOG.md", search="@Unreleased", replace="{{version}}"},
  {file="CHANGELOG.md", search="@ReleaseDate", replace="{{date}} <a id=\"{{version}}\"></a>"},
  {file="CHANGELOG.md", search="\\[comment\\]: <> \\(@PlannedForNextRelease\\)", replace="[comment]: <> (@PlannedForNextRelease)\n## [@Unreleased] - @ReleaseDate\n"},
]

[[bench]]
name = "lib_benchmark"
harness = false

[[bench]]
name = "bin_benchmark"
harness = false
