ktrs 0.5.0

Fast Kotlin formatter and linter: ktfmt-identical formatting and ktlint-identical linting, with drop-in `ktfmt` and `ktlint` binaries
# 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.90"
name = "ktrs"
version = "0.5.0"
build = false
include = [
    "/src",
    "/README.md",
    "/LICENSE-*",
    "/NOTICE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast Kotlin formatter and linter: ktfmt-identical formatting and ktlint-identical linting, with drop-in `ktfmt` and `ktlint` binaries"
readme = "README.md"
keywords = [
    "kotlin",
    "formatter",
    "linter",
    "ktfmt",
    "ktlint",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Hexay/ktrs"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-v{ version }-{ target }{ archive-suffix }"
bin-dir = "{ name }-v{ version }-{ target }/{ bin }{ binary-ext }"
pkg-fmt = "tgz"

[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"

[package.metadata.binstall.overrides.aarch64-pc-windows-msvc]
pkg-fmt = "zip"

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

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

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

[dependencies.ktrs-cli]
version = "0.5.0"

[dependencies.mimalloc]
version = "0.1"
default-features = false

[profile.ci]
lto = false
codegen-units = 16
inherits = "release"

[profile.dist]
inherits = "release"
strip = true

[profile.release]
lto = "fat"
codegen-units = 1
panic = "unwind"

[profile.wasm]
panic = "abort"
inherits = "release"
strip = true