[package]
edition = "2024"
name = "lineguard"
version = "0.1.7"
authors = ["hydai <z54981220@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A fast and reliable file linter that ensures proper line endings and clean formatting"
readme = "README.md"
keywords = [
"lint",
"formatter",
"cli",
"line-endings",
"whitespace",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/hydai/lineguard"
[lib]
name = "lineguard"
path = "src/lib.rs"
[[bin]]
name = "lineguard"
path = "src/main.rs"
[[test]]
name = "check_options_tests"
path = "tests/check_options_tests.rs"
[[test]]
name = "checker_edge_cases_tests"
path = "tests/checker_edge_cases_tests.rs"
[[test]]
name = "checker_tests"
path = "tests/checker_tests.rs"
[[test]]
name = "cli_tests"
path = "tests/cli_tests.rs"
[[test]]
name = "concurrent_access_tests"
path = "tests/concurrent_access_tests.rs"
[[test]]
name = "config_file_tests"
path = "tests/config_file_tests.rs"
[[test]]
name = "cpp_files_tests"
path = "tests/cpp_files_tests.rs"
[[test]]
name = "discovery_edge_cases_tests"
path = "tests/discovery_edge_cases_tests.rs"
[[test]]
name = "discovery_tests"
path = "tests/discovery_tests.rs"
[[test]]
name = "discovery_tests_symlinks"
path = "tests/discovery_tests_symlinks.rs"
[[test]]
name = "example_usage"
path = "tests/example_usage.rs"
[[test]]
name = "exit_code_tests"
path = "tests/exit_code_tests.rs"
[[test]]
name = "extensions_tests"
path = "tests/extensions_tests.rs"
[[test]]
name = "filtering_tests"
path = "tests/filtering_tests.rs"
[[test]]
name = "fix_tests"
path = "tests/fix_tests.rs"
[[test]]
name = "fixer_edge_cases_tests"
path = "tests/fixer_edge_cases_tests.rs"
[[test]]
name = "git_range_tests"
path = "tests/git_range_tests.rs"
[[test]]
name = "hidden_files_tests"
path = "tests/hidden_files_tests.rs"
[[test]]
name = "human_reporter_tests"
path = "tests/human_reporter_tests.rs"
[[test]]
name = "ignore_pattern_tests"
path = "tests/ignore_pattern_tests.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "invalid_config_tests"
path = "tests/invalid_config_tests.rs"
[[test]]
name = "large_file_tests"
path = "tests/large_file_tests.rs"
[[test]]
name = "main_tests"
path = "tests/main_tests.rs"
[[test]]
name = "permission_tests"
path = "tests/permission_tests.rs"
[[test]]
name = "reporter_tests"
path = "tests/reporter_tests.rs"
[[test]]
name = "stdin_tests"
path = "tests/stdin_tests.rs"
[[test]]
name = "test_utils"
path = "tests/test_utils.rs"
[[test]]
name = "unicode_path_tests"
path = "tests/unicode_path_tests.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.clap]
version = "4.5"
features = [
"derive",
"color",
"suggestions",
]
[dependencies.colored]
version = "3.1"
[dependencies.glob]
version = "0.3"
[dependencies.indicatif]
version = "0.18"
[dependencies.rayon]
version = "1.11"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.toml]
version = "0.9"
[dev-dependencies.assert_cmd]
version = "2.1.2"
[dev-dependencies.gag]
version = "1.0"
[dev-dependencies.predicates]
version = "3.1"
[dev-dependencies.tempfile]
version = "3.24"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1