swt 4.1.2

🍬 Sweet: A blazing-fast code health and architecture analyzer.
Documentation
# 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 = "swt"
version = "4.1.2"
authors = ["SirCesarium <contact.cesarmarcano@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "swt"
description = "🍬 Sweet: A blazing-fast code health and architecture analyzer."
homepage = "https://github.com/SirCesarium/sweet"
readme = "README.md"
keywords = [
    "cli",
    "static-analysis",
    "code-quality",
    "metrics",
    "architecture",
]
categories = [
    "development-tools",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/SirCesarium/sweet"

[package.metadata.deb]
maintainer = "SirCesarium <contact.cesarmarcano@gmail.com>"
copyright = "2026, SirCesarium"
license-file = ["LICENSE"]
extended-description = "A blazing-fast code health and architecture analyzer designed to keep project architectures lean and sustainable."
section = "devel"
priority = "optional"
assets = [
    [
    "target/release/swt",
    "usr/bin/swt",
    "755",
],
    [
    "README.md",
    "usr/share/doc/swt/README.md",
    "644",
],
]

[package.metadata.generate-rpm]
name = "swt"
version = "3.3.0"
release = "1"
arch = "x86_64"
summary = "A blazing-fast code health and architecture analyzer."
description = "Sweet is a high-performance code health analyzer designed to keep project architectures lean and sustainable."
license = "MIT"

[[package.metadata.generate-rpm.assets]]
source = "target/release/swt"
dest = "/usr/bin/swt"
mode = "755"

[[package.metadata.generate-rpm.assets]]
source = "README.md"
dest = "/usr/share/doc/swt/README.md"
mode = "644"

[features]
default = []
lsp = [
    "dep:tokio",
    "dep:tower-lsp",
]
schema = ["schemars"]
schemars = ["dep:schemars"]

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

[[bin]]
name = "sweet-analyzer-lsp"
path = "src/bin/lsp.rs"
required-features = ["lsp"]

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

[dependencies.clap]
version = "4.6.0"
features = ["derive"]

[dependencies.console]
version = "0.16.3"

[dependencies.dashmap]
version = "6.1.0"

[dependencies.human_bytes]
version = "0.4.3"

[dependencies.ignore]
version = "0.4.25"

[dependencies.indicatif]
version = "0.18.4"
features = ["rayon"]

[dependencies.memmap2]
version = "0.9.10"

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

[dependencies.once_cell]
version = "1.21.4"

[dependencies.rayon]
version = "1.11.0"

[dependencies.regex]
version = "1.12.3"

[dependencies.reqwest]
version = "0.13.2"
features = [
    "rustls",
    "stream",
    "blocking",
]
default-features = false

[dependencies.schemars]
version = "1.2.1"
optional = true

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

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.50.0"
features = ["full"]
optional = true

[dependencies.tower-lsp]
version = "0.20.0"
optional = true

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
strip = true