paline 0.5.0

一个用 Rust 编写的代码行数统计命令行工具。递归扫描目录,按编程语言统计行数,并以彩色横向条形图在终端中可视化展示。
# 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 = "2021"
rust-version = "1.88.0"
name = "paline"
version = "0.5.0"
authors = ["luxpapilio <258553125+luxpapilio@users.noreply.github.com>"]
build = false
exclude = [
    "docs/assets/icon.png",
    "docs/assets/demo.gif",
    "Cargo.toml.orig",
    "scripts/commit.py",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "一个用 Rust 编写的代码行数统计命令行工具。递归扫描目录,按编程语言统计行数,并以彩色横向条形图在终端中可视化展示。"
homepage = "https://github.com/luxpapilio/lcount"
readme = "README.md"
keywords = [
    "lines-of-code",
    "rust",
    "terminal",
    "visualization",
    "count",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/luxpapilio/lcount"

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

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

[dependencies.dirs]
version = "6.0.0"

[dependencies.git2]
version = "0.19.0"

[dependencies.ignore]
version = "0.4"

[dependencies.memchr]
version = "2.8"

[dependencies.owo-colors]
version = "4"

[dependencies.rayon]
version = "1"

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

[dependencies.terminal_size]
version = "0.4"

[dependencies.toml]
version = "1.1.4"

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