# 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"
name = "ggen-utils"
version = "3.4.0"
authors = ["Sean Chatman <sean@chatmangpt.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared utilities for ggen"
readme = "README.md"
keywords = [
    "cli",
    "code-generation",
    "rdf",
    "templates",
]
categories = [
    "development-tools",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/seanchatmangpt/ggen"

[features]
journald = []
nightly = []
syslog = []
termlog = []

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

[[bin]]
name = "collect-metrics"
path = "src/bin/collect-metrics.rs"

[[bin]]
name = "git_hook_installer"
path = "src/bin/git_hook_installer.rs"

[[bin]]
name = "git_hook_pre_commit"
path = "src/bin/git_hook_pre_commit.rs"

[[bin]]
name = "git_hook_pre_push"
path = "src/bin/git_hook_pre_push.rs"

[[bench]]
name = "utilities_performance"
path = "benches/utilities_performance.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.backtrace]
version = "0.3.76"

[dependencies.chrono]
version = "0.4"

[dependencies.clap]
version = "4.5.48"

[dependencies.color-backtrace]
version = "0.7.1"

[dependencies.colored]
version = "3.0"

[dependencies.config]
version = "0.15.18"
features = [
    "toml",
    "json",
    "yaml",
    "ini",
    "json5",
    "convert-case",
    "async",
]
default-features = false

[dependencies.dirs]
version = "6.0"

[dependencies.lazy_static]
version = "1.5.0"

[dependencies.log]
version = "0.4.28"

[dependencies.once_cell]
version = "1.20"

[dependencies.oxigraph]
version = "0.5"

[dependencies.regex]
version = "1.10"

[dependencies.ron]
version = "0.11"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.slog]
version = "2.8.2"

[dependencies.slog-async]
version = "2.8.0"

[dependencies.slog-scope]
version = "4.4.0"

[dependencies.slog-stdlog]
version = "4.1.1"

[dependencies.slog-term]
version = "2.9.2"

[dependencies.tera]
version = "1.20"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.toml]
version = "0.9"

[dev-dependencies.chicago-tdd-tools]
version = "1.4.0"
features = [
    "testing-extras",
    "async",
]

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

[target.'cfg(target_os = "linux")'.dependencies.slog-journald]
version = "2.2.0"

[lints.clippy]
multiple_crate_versions = "allow"
