dead-poets 0.3.0

Find unused (dead) gettext PO/POT keys across a polyglot codebase (PHP, Twig, JS/TS) via real AST parsing.
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 = "dead-poets"
version = "0.3.0"
authors = ["Kira Kurentsov <immortalsteel@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Find unused (dead) gettext PO/POT keys across a polyglot codebase (PHP, Twig, JS/TS) via real AST parsing."
homepage = "https://github.com/Segodnya/dead-poets"
documentation = "https://docs.rs/dead-poets"
readme = "README.md"
keywords = [
    "gettext",
    "i18n",
    "localization",
    "lint",
    "po",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Segodnya/dead-poets"

[features]
cli = [
    "dep:clap",
    "dep:colored",
    "dep:env_logger",
    "dep:serde_json",
]
default = ["cli"]

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

[[bin]]
name = "dead-poets"
path = "src/main.rs"
required-features = ["cli"]

[[test]]
name = "abi_smoke"
path = "tests/abi_smoke.rs"

[[test]]
name = "facade"
path = "tests/facade.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[dependencies.aho-corasick]
version = "1.1.3"

[dependencies.anyhow]
version = "1.0.102"

[dependencies.clap]
version = "4.6.1"
features = ["derive"]
optional = true

[dependencies.colored]
version = "3.1.1"
optional = true

[dependencies.dashmap]
version = "6.2.1"

[dependencies.env_logger]
version = "0.11.10"
optional = true

[dependencies.globset]
version = "0.4.18"

[dependencies.ignore]
version = "0.4.25"

[dependencies.log]
version = "0.4.30"

[dependencies.polib]
version = "0.3.0"

[dependencies.rayon]
version = "1.12.0"

[dependencies.regex]
version = "1.12.3"

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

[dependencies.serde_json]
version = "1.0.150"
optional = true

[dependencies.toml]
version = "1.1.2"

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

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

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

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

[dev-dependencies.cargo-husky]
version = "1.5.0"
features = ["user-hooks"]
default-features = false

[profile.release]
lto = "thin"
codegen-units = 1
strip = "symbols"