comment-remover 0.1.1

CLI utility to remove comments from source codes
# 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 = "comment-remover"
version = "0.1.1"
authors = ["rhythmcache"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI utility to remove comments from source codes"
homepage = "https://github.com/rhythmcache/comment-remover"
readme = "README.md"
keywords = [
    "comments",
    "strip",
    "remove",
    "parser",
    "hash",
]
categories = ["command-line-utilities"]
license = "Apache-2.0"
repository = "https://github.com/rhythmcache/comment-remover"

[package.metadata.binstall]
bin-dir = "{ bin }"

[features]
all = [
    "bash",
    "c",
    "c-sharp",
    "cpp",
    "css",
    "go",
    "haskell",
    "html",
    "java",
    "javascript",
    "lua",
    "php",
    "python",
    "ruby",
    "rust-lang",
    "scala",
    "swift",
    "typescript",
]
bash = ["dep:tree-sitter-bash"]
c = ["dep:tree-sitter-c"]
c-sharp = ["dep:tree-sitter-c-sharp"]
cpp = ["dep:tree-sitter-cpp"]
css = ["dep:tree-sitter-css"]
default = [
    "c",
    "cpp",
    "rust-lang",
    "javascript",
    "python",
]
dotnet = ["c-sharp"]
go = ["dep:tree-sitter-go"]
haskell = ["dep:tree-sitter-haskell"]
html = ["dep:tree-sitter-html"]
java = ["dep:tree-sitter-java"]
javascript = ["dep:tree-sitter-javascript"]
jvm = [
    "java",
    "scala",
]
lua = ["dep:tree-sitter-lua"]
php = ["dep:tree-sitter-php"]
python = ["dep:tree-sitter-python"]
ruby = ["dep:tree-sitter-ruby"]
rust-lang = ["dep:tree-sitter-rust"]
scala = ["dep:tree-sitter-scala"]
scripting = [
    "bash",
    "python",
    "ruby",
    "lua",
]
swift = ["dep:tree-sitter-swift"]
systems = [
    "c",
    "cpp",
    "rust-lang",
    "go",
]
typescript = ["dep:tree-sitter-typescript"]
web = [
    "javascript",
    "typescript",
    "html",
    "css",
]
web-backend = [
    "php",
    "ruby",
    "python",
]

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

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

[dependencies.tree-sitter]
version = "0.25.10"

[dependencies.tree-sitter-bash]
version = "0.25.0"
optional = true

[dependencies.tree-sitter-c]
version = "0.24.1"
optional = true

[dependencies.tree-sitter-c-sharp]
version = "0.23.1"
optional = true

[dependencies.tree-sitter-cpp]
version = "0.23.4"
optional = true

[dependencies.tree-sitter-css]
version = "0.25.0"
optional = true

[dependencies.tree-sitter-go]
version = "0.25.0"
optional = true

[dependencies.tree-sitter-haskell]
version = "0.23.1"
optional = true

[dependencies.tree-sitter-html]
version = "0.23.2"
optional = true

[dependencies.tree-sitter-java]
version = "0.23.5"
optional = true

[dependencies.tree-sitter-javascript]
version = "0.25.0"
optional = true

[dependencies.tree-sitter-lua]
version = "0.2.0"
optional = true

[dependencies.tree-sitter-php]
version = "0.24.2"
optional = true

[dependencies.tree-sitter-python]
version = "0.25.0"
optional = true

[dependencies.tree-sitter-ruby]
version = "0.23.1"
optional = true

[dependencies.tree-sitter-rust]
version = "0.24.0"
optional = true

[dependencies.tree-sitter-scala]
version = "0.24.0"
optional = true

[dependencies.tree-sitter-swift]
version = "0.7.1"
optional = true

[dependencies.tree-sitter-typescript]
version = "0.23.2"
optional = true

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