git-harvest 0.3.3

Harvest a CHANGELOG from your Git history.
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.98.1"
name = "git-harvest"
version = "0.3.3"
authors = ["Kevin Matthes <aeruginous.rs@gmail.com>"]
build = "build.rs"
include = [
    "build.rs",
    "src/**",
    "README.md",
    "LICENCE",
    "THIRDPARTY.md",
    "debian/copyright",
    "licences/musl/COPYRIGHT",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Harvest a CHANGELOG from your Git history."
readme = "README.md"
keywords = [
    "changelog",
    "git",
    "keep-a-changelog",
    "release",
    "ron",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/kevinmatthes/git-harvest"

[package.metadata.release]
publish = false
tag = false
push = false
shared-version = true
pre-release-hook = [
    "env",
    "-u",
    "CI",
    "cargo",
    "run",
    "-p",
    "xtask",
]
pre-release-commit-message = "Skip ::= pre-bump the manifest to {{version}}"

[[package.metadata.release.pre-release-replacements]]
file = "CITATION.cff"
search = "^version: .*"
replace = "version: {{version}}"
exactly = 1

[package.metadata.deb]
depends = []
extended-description = "`git-harvest` produces a Keep a Changelog-style CHANGELOG from a Git repository's commit history:  it harvests structured commit subjects on a branch into fragments, assembles the fragments into released sections, renders the released history as Markdown, maintains a contributor registry, and reproduces the licence notices of every dependency it ships."
assets = [
    [
    "target/release/git-harvest",
    "usr/bin/",
    "755",
],
    [
    "debian/copyright",
    "usr/share/doc/git-harvest/copyright",
    "644",
],
    [
    "man/*.1",
    "usr/share/man/man1/",
    "644",
],
    [
    "SOURCE.txt",
    "usr/share/doc/git-harvest/",
    "644",
],
]

[lib]
name = "git_harvest"
path = "src/lib.rs"

[[bin]]
name = "git-harvest"
path = "src/main.rs"

[dependencies.chrono]
version = "0.4.45"
features = ["serde"]

[dependencies.clap]
version = "4.6.7"
features = ["derive"]

[dependencies.gix]
version = "0.87.1"

[dependencies.indexmap]
version = "2.14.2"
features = ["serde"]

[dependencies.list-my-licence]
version = "0.3.1"
features = ["clap"]

[dependencies.ron]
version = "0.12.2"

[dependencies.semver]
version = "1.0.28"

[dependencies.serde]
version = "1.0.229"
features = ["derive"]

[dependencies.sysexits]
version = "0.13.0"

[dev-dependencies.chrono]
version = "0.4.45"
features = ["serde"]

[dev-dependencies.sysexits]
version = "0.13.0"

[dev-dependencies.tempfile]
version = "3.27.0"

[build-dependencies.list-my-licence]
version = "0.3.1"
features = ["build"]

[lints.clippy]
multiple_crate_versions = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.cargo]
level = "deny"
priority = -1

[lints.clippy.complexity]
level = "deny"
priority = -1

[lints.clippy.correctness]
level = "deny"
priority = -1

[lints.clippy.nursery]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.clippy.perf]
level = "deny"
priority = -1

[lints.clippy.style]
level = "deny"
priority = -1

[lints.clippy.suspicious]
level = "deny"
priority = -1

[lints.rust]
dead_code = "deny"
deprecated = "deny"
missing_docs = "deny"
unreachable_code = "deny"
unused_assignments = "deny"
unused_imports = "deny"
unused_macros = "deny"
unused_must_use = "deny"
unused_mut = "deny"
unused_parens = "deny"
unused_variables = "deny"

[lints.rustdoc]
broken_intra_doc_links = "deny"