# 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 = "scaffold-gen"
version = "0.10.4"
authors = ["nkuzhangshn@gmail.com"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A modern scaffolding generator for creating project templates"
homepage = "https://github.com/sunerpy/scaffold-gen"
readme = "README.md"
keywords = [
    "cli",
    "scaffold",
    "scafgen",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/sunerpy/scaffold-gen"

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

[[bin]]
name = "scafgen"
path = "src/main.rs"

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

[dependencies.anyhow]
version = "1"

[dependencies.async-trait]
version = "0.1"

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

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

[dependencies.clap_complete]
version = "4.5"

[dependencies.colored]
version = "3"

[dependencies.include_dir]
version = "0.7"

[dependencies.indicatif]
version = "0.18"

[dependencies.inquire]
version = "0.9"

[dependencies.minijinja]
version = "2"
features = [
    "loader",
    "custom_syntax",
]

[dependencies.regex]
version = "1"

[dependencies.self_update]
version = "0.42"
features = [
    "archive-tar",
    "archive-zip",
    "compression-flate2",
    "compression-zip-deflate",
    "rustls",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.sha1_smol]
version = "1"

[dependencies.tempfile]
version = "3"

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

[dependencies.tracing]
version = "0.1"

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

[dependencies.walkdir]
version = "2"

[dependencies.which]
version = "8"

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

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
strip = true
