# 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.80.0"
name = "omni-dev"
version = "0.22.0"
authors = ["John Ky <newhoggy@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A powerful Git commit message analysis and amendment toolkit"
homepage = "https://github.com/rust-works/omni-dev"
documentation = "https://docs.rs/omni-dev"
readme = "README.md"
keywords = [
    "git",
    "commit",
    "conventional-commits",
    "development",
    "cli",
]
categories = [
    "development-tools",
    "command-line-utilities",
]
license = "BSD-3-Clause"
repository = "https://github.com/rust-works/omni-dev"

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

[[bin]]
name = "omni-dev"
path = "src/main.rs"
required-features = []

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

[dependencies.anyhow]
version = "1.0"

[dependencies.base64]
version = "0.22"

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

[dependencies.clap]
version = "4.6"
features = [
    "derive",
    "color",
]

[dependencies.crossterm]
version = "0.29"

[dependencies.dirs]
version = "6.0.0"

[dependencies.futures]
version = "0.3"

[dependencies.git2]
version = "0.20"

[dependencies.globset]
version = "0.4"

[dependencies.regex]
version = "1.12.3"

[dependencies.reqwest]
version = "0.13"
features = ["json"]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.ssh2-config]
version = "0.7"

[dependencies.tempfile]
version = "3.27"

[dependencies.termcolor]
version = "1.1"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.50"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
]

[dependencies.url]
version = "2.5.8"

[dependencies.yaml-rust-davvid]
version = "0.6"

[dev-dependencies.insta]
version = "1.47"

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

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

[dev-dependencies.wiremock]
version = "0.6"

[lints.clippy]
case_sensitive_file_extension_comparisons = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
expect_used = "warn"
format_push_string = "allow"
if_not_else = "allow"
items_after_statements = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
option_if_let_else = "allow"
or_fun_call = "allow"
redundant_pub_crate = "allow"
ref_option = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
too_many_lines = "allow"
unnecessary_wraps = "allow"
unused_async = "allow"
unused_self = "allow"
unwrap_used = "warn"

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

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

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

[lints.rust]
unsafe_code = "deny"
