# 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-versioning"
version = "0.5.1"
authors = ["Dylan Anthony <contact@dylananthony.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for handling all the versioned files supported by Knope"
readme = "README.md"
license = "MIT"
repository = "https://github.com/knope-dev/knope"
resolver = "2"

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

[dependencies.changesets]
version = "0.4.0"

[dependencies.git-conventional]
version = "0.12.6"

[dependencies.itertools]
version = "0.14.0"

[dependencies.miette]
version = "7.2.0"
optional = true

[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.serde_yaml]
version = "0.9.34"

[dependencies.thiserror]
version = "2.0.0"

[dependencies.time]
version = "0.3.36"
features = [
    "formatting",
    "macros",
    "parsing",
]

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

[dependencies.toml_edit]
version = "0.23.0"

[dependencies.tracing]
version = "0.1.40"

[dependencies.xml-rs]
version = "0.8.25"

[dependencies.xmltree]
version = "0.11.0"
features = ["attribute-order"]

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

[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 = "deny"
priority = -1

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

[lints.rust]
unsafe_code = "forbid"
warnings = "deny"
