# 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"
name = "mit-commit"
version = "3.3.3"
authors = ["Billie Thompson <billie+mit-commit@billiecodes.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "For building commit linters. This makes it easy."
readme = "README.md"
keywords = [
    "git",
    "git-hooks",
]
categories = [
    "parser-implementations",
    "parsing",
    "text-editors",
]
license = "CC0-1.0"
repository = "https://codeberg.org/PurpleBooth/mit-commit"

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

[[example]]
name = "test_roundtrip"
path = "examples/test_roundtrip.rs"

[[test]]
name = "comment_char_is_not_in_legal_list"
path = "tests/comment_char_is_not_in_legal_list.rs"

[[test]]
name = "commit_message_with_comment_right_next_to_subject"
path = "tests/commit_message_with_comment_right_next_to_subject.rs"

[[test]]
name = "commit_message_with_no_comments"
path = "tests/commit_message_with_no_comments.rs"

[[test]]
name = "commit_message_with_whitespace_starting_last_line"
path = "tests/commit_message_with_whitespace_starting_last_line.rs"

[[test]]
name = "commit_with_all_features"
path = "tests/commit_with_all_features.rs"

[[test]]
name = "long_subject_only_commit"
path = "tests/long_subject_only_commit.rs"

[[test]]
name = "multiple_trailers"
path = "tests/multiple_trailers.rs"

[[test]]
name = "never_panic"
path = "tests/never_panic.rs"

[[test]]
name = "non_standard_comment_character"
path = "tests/non_standard_comment_character.rs"

[[test]]
name = "not_verbose_commit"
path = "tests/not_verbose_commit.rs"

[[test]]
name = "trailing_empty_newlines"
path = "tests/trailing_empty_newlines.rs"

[[bench]]
name = "commit_message"
path = "benches/commit_message.rs"
harness = false

[dependencies.indoc]
version = "2"

[dependencies.miette]
version = "7"

[dependencies.regex]
version = "1"

[dependencies.thiserror]
version = "2"

[dev-dependencies.criterion]
version = "0.7"

[dev-dependencies.quickcheck]
version = "1"

[dev-dependencies.quickcheck_macros]
version = "1"

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