[package]
edition = "2024"
name = "uncomment"
version = "3.0.2"
authors = ["Na'aman Hirschfeld <nhirschfeld@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A CLI tool to remove comments from code using tree-sitter for accurate parsing"
readme = "README.md"
keywords = [
"comments",
"cli",
"tree-sitter",
"ast",
]
license = "MIT"
repository = "https://github.com/Goldziher/uncomment"
[features]
bench-tools = []
default = []
[lib]
name = "uncomment"
path = "src/lib.rs"
[[bin]]
name = "benchmark"
path = "src/bin/benchmark.rs"
required-features = ["bench-tools"]
[[bin]]
name = "profile"
path = "src/bin/profile.rs"
required-features = ["bench-tools"]
[[bin]]
name = "uncomment"
path = "src/main.rs"
[[test]]
name = "custom_languages_test"
path = "tests/custom_languages_test.rs"
[[test]]
name = "error_handling_tests"
path = "tests/error_handling_tests.rs"
[[test]]
name = "grammar_integration_tests"
path = "tests/grammar_integration_tests.rs"
[[test]]
name = "init_command_tests"
path = "tests/init_command_tests.rs"
[[test]]
name = "init_integration_test"
path = "tests/init_integration_test.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "linting_directives_simple_test"
path = "tests/linting_directives_simple_test.rs"
[[test]]
name = "python_docstring_test"
path = "tests/python_docstring_test.rs"
[[test]]
name = "uncomment_integration"
path = "tests/uncomment_integration.rs"
[dependencies.ahash]
version = "0.8"
[dependencies.anyhow]
version = "1.0.102"
[dependencies.clap]
version = "4.6"
features = ["derive"]
[dependencies.dirs]
version = "6.0"
[dependencies.glob]
version = "0.3.3"
[dependencies.ignore]
version = "0.4.25"
[dependencies.memchr]
version = "2"
[dependencies.num_cpus]
version = "1.17"
[dependencies.once_cell]
version = "1.21.4"
[dependencies.rayon]
version = "1.12.0"
[dependencies.saphyr]
version = "0.0.6"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.toml]
version = "1.1.2"
[dependencies.tree-sitter]
version = "0.26.8"
[dependencies.tree-sitter-language-pack]
version = "1.6.1"
[dependencies.walkdir]
version = "2.5"
[dev-dependencies.pretty_assertions]
version = "1.4"
[dev-dependencies.tempfile]
version = "3.27.0"
[target."cfg(unix)".dependencies.libc]
version = "0.2.185"