# 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"
rust-version = "1.85.0"
name = "knope"
version = "0.22.4"
authors = ["Dylan Anthony <contact@dylananthony.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A command line tool for automating common development tasks"
homepage = "https://knope.tech"
documentation = "https://knope.tech"
readme = "README.md"
keywords = [
    "semantic-version",
    "changelog",
    "changeset",
    "git",
    "github",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/knope-dev/knope"
resolver = "2"

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

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

[dependencies.base64]
version = "0.22.1"

[dependencies.changesets]
version = "0.4.0"

[dependencies.clap]
version = "4.5.4"
features = [
    "cargo",
    "string",
    "env",
]

[dependencies.datta]
version = "0.1.1"

[dependencies.deno_config]
version = "0.71.0"

[dependencies.deno_package_json]
version = "0.23.0"

[dependencies.deno_path_util]
version = "0.6.1"

[dependencies.deno_semver]
version = "0.9.0"

[dependencies.dirs]
version = "6.0.0"

[dependencies.execute]
version = "0.2.13"

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

[dependencies.glob]
version = "0.3.1"

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

[dependencies.inquire]
version = "0.9.0"
features = ["crossterm"]
default-features = false

[dependencies.itertools]
version = "0.14.0"

[dependencies.knope-config]
version = "0.4.2"

[dependencies.knope-versioning]
version = "0.7.1"
features = ["miette"]

[dependencies.miette]
version = "7.2.0"
features = ["fancy"]

[dependencies.relative-path]
version = "2.0.0"
features = ["serde"]

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

[dependencies.serde_json]
version = "1.0.116"
features = ["preserve_order"]

[dependencies.sys_traits]
version = "0.1.17"
features = ["real"]

[dependencies.thiserror]
version = "2.0.0"

[dependencies.toml]
version = "1.0.1"
features = ["preserve_order"]

[dependencies.toml_edit]
version = "0.25.0"

[dependencies.tracing]
version = "0.1.40"

[dependencies.tracing-subscriber]
version = "0.3.18"
features = ["fmt"]
default-features = false

[dependencies.ureq]
version = "3.0"
features = ["json"]

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

[dev-dependencies.regex]
version = "1.11"

[dev-dependencies.snapbox]
version = "1.0.0"
features = [
    "path",
    "regex",
]

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

[dev-dependencies.time]
version = "0.3.36"

[lints.clippy]
exit = "deny"
expect_used = "deny"
indexing_slicing = "deny"
missing_panics_doc = "forbid"
multiple_crate_versions = "allow"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"

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

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

[lints.rust]
unsafe_code = "forbid"
unused_assignments = "allow"
