# 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 = "2021"
rust-version = "1.78.0"
name = "cocogitto"
version = "7.0.0"
authors = ["Paul Delafosse <paul.delafosse@protonmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Cocogitto is a set of cli tools for the conventional commit
and semver specifications.
"""
readme = "README.md"
keywords = [
    "git",
    "conventional-commit",
    "changelog",
    "semver",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/cocogitto/cocogitto"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/{ version }/{ name }-{ version }-{ target }.tar.gz"
bin-dir = "{ target }/{ bin }{ binary-ext }"
pkg-fmt = "tgz"

[features]
cli = [
    "clap",
    "clap_complete",
    "clap_mangen",
    "clap_complete_nushell",
]
default = ["cli"]
docgen = [
    "clap",
    "cog_schemars",
    "serde_json",
]

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

[[bin]]
name = "cog"
path = "src/bin/cog/main.rs"
required-features = [
    "clap",
    "clap_complete",
    "clap_mangen",
]

[[bin]]
name = "cog-doc"
path = "src/bin/cog-doc/main.rs"
required-features = ["docgen"]

[[test]]
name = "all"
path = "tests/common.rs"

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

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

[dependencies.anyhow]
version = "1.0.75"

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

[dependencies.clap]
version = "4.5.2"
features = [
    "derive",
    "string",
]
optional = true

[dependencies.clap_complete]
version = "4.5.1"
optional = true

[dependencies.clap_complete_nushell]
version = "4.5.1"
optional = true

[dependencies.clap_mangen]
version = "0.2.20"
optional = true

[dependencies.cocogitto-dependency-resolver]
version = "0.1.0"

[dependencies.cog_schemars]
version = "0.1.0"
optional = true

[dependencies.colored]
version = "^2"

[dependencies.config]
version = "0.14.0"
features = ["toml"]
default-features = false

[dependencies.conventional_commit_parser]
version = "0.9.4"

[dependencies.edit]
version = "0.1.5"
features = ["quoted-env"]

[dependencies.git2]
version = "0.20.0"
features = []
default-features = false

[dependencies.globset]
version = "0.4.14"

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

[dependencies.itertools]
version = "^0"

[dependencies.log]
version = "0.4.21"

[dependencies.maplit]
version = "1.0.2"

[dependencies.once_cell]
version = "^1"

[dependencies.pest]
version = "2.7"

[dependencies.pest_derive]
version = "2.7"

[dependencies.semver]
version = "^1"

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

[dependencies.serde_json]
version = "1.0.132"
optional = true

[dependencies.shell-words]
version = "^1"

[dependencies.stderrlog]
version = "0.6.0"

[dependencies.tempfile]
version = "^3"

[dependencies.tera]
version = "1.19.1"

[dependencies.toml]
version = "0.8.20"

[dependencies.which]
version = "6.0.0"

[dev-dependencies.assert_cmd]
version = "2.1.1"

[dev-dependencies.cmd_lib]
version = "1.9.3"

[dev-dependencies.indoc]
version = "2.0.4"

[dev-dependencies.predicates]
version = "3.1.0"

[dev-dependencies.pretty_assertions]
version = "1.4.0"

[dev-dependencies.sealed_test]
version = "1.0.0"

[dev-dependencies.serde_json]
version = "1.0.132"

[dev-dependencies.speculoos]
version = "0.12.0"
