[package]
edition = "2021"
name = "tldr-cli"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI binary for TLDR code analysis tool"
readme = false
license = "AGPL-3.0"
repository = "https://github.com/parcadei/tldr-code"
[features]
default = []
experimental_callgraph = ["tldr-core/experimental_callgraph"]
semantic = ["tldr-core/semantic"]
[lib]
name = "tldr_cli"
path = "src/lib.rs"
[[bin]]
name = "tldr"
path = "src/main.rs"
[[bin]]
name = "tldr-daemon"
path = "src/bin/tldr_daemon.rs"
[[bin]]
name = "tldr-mcp"
path = "src/bin/tldr_mcp.rs"
[[test]]
name = "api_check_and_patterns_accuracy_v1"
path = "tests/api_check_and_patterns_accuracy_v1.rs"
[[test]]
name = "bench_cli_multilang"
path = "tests/bench_cli_multilang.rs"
[[test]]
name = "bugbot_check_test"
path = "tests/bugbot_check_test.rs"
[[test]]
name = "bugbot_tests"
path = "tests/bugbot_tests.rs"
[[test]]
name = "cache_upgrade_test"
path = "tests/cache_upgrade_test.rs"
[[test]]
name = "cli_basic_tests"
path = "tests/cli_basic_tests.rs"
[[test]]
name = "cli_error_clarity_v2"
path = "tests/cli_error_clarity_v2.rs"
[[test]]
name = "cli_graph_tests"
path = "tests/cli_graph_tests.rs"
[[test]]
name = "cli_main_output_tests"
path = "tests/cli_main_output_tests.rs"
[[test]]
name = "cli_p1_tests"
path = "tests/cli_p1_tests.rs"
[[test]]
name = "cli_patterns_contracts_tests"
path = "tests/cli_patterns_contracts_tests.rs"
[[test]]
name = "cli_quality_tests"
path = "tests/cli_quality_tests.rs"
[[test]]
name = "cli_remaining_tests"
path = "tests/cli_remaining_tests.rs"
[[test]]
name = "cli_search_context_tests"
path = "tests/cli_search_context_tests.rs"
[[test]]
name = "cli_tests"
path = "tests/cli_tests.rs"
[[test]]
name = "clones_cli_tests"
path = "tests/clones_cli_tests.rs"
[[test]]
name = "context_file_func_and_cpp_qualified_v1"
path = "tests/context_file_func_and_cpp_qualified_v1.rs"
[[test]]
name = "context_relative_and_ts_colon_v1"
path = "tests/context_relative_and_ts_colon_v1.rs"
[[test]]
name = "contracts_test"
path = "tests/contracts_test.rs"
[[test]]
name = "cpp_method_name_extraction_v1"
path = "tests/cpp_method_name_extraction_v1.rs"
[[test]]
name = "critical_regressions_v1"
path = "tests/critical_regressions_v1.rs"
[[test]]
name = "cross_command_consistency_v1"
path = "tests/cross_command_consistency_v1.rs"
[[test]]
name = "cross_command_consistency_v3"
path = "tests/cross_command_consistency_v3.rs"
[[test]]
name = "cross_cutting_and_clear_fix_bugs_v1"
path = "tests/cross_cutting_and_clear_fix_bugs_v1.rs"
[[test]]
name = "cross_language_extraction_v2"
path = "tests/cross_language_extraction_v2.rs"
[[test]]
name = "daemon_test"
path = "tests/daemon_test.rs"
[[test]]
name = "definition_workspace_cross_file_v1"
path = "tests/definition_workspace_cross_file_v1.rs"
[[test]]
name = "deps_and_surface_graceful_degrade_v1"
path = "tests/deps_and_surface_graceful_degrade_v1.rs"
[[test]]
name = "detection_accuracy_v1"
path = "tests/detection_accuracy_v1.rs"
[[test]]
name = "determinism_and_stderr_hygiene_v1"
path = "tests/determinism_and_stderr_hygiene_v1.rs"
[[test]]
name = "diff_class_level_test"
path = "tests/diff_class_level_test.rs"
[[test]]
name = "diff_directory_level_test"
path = "tests/diff_directory_level_test.rs"
[[test]]
name = "diff_expression_level_test"
path = "tests/diff_expression_level_test.rs"
[[test]]
name = "diff_multilang_test"
path = "tests/diff_multilang_test.rs"
[[test]]
name = "diff_statement_level_test"
path = "tests/diff_statement_level_test.rs"
[[test]]
name = "diff_token_level_test"
path = "tests/diff_token_level_test.rs"
[[test]]
name = "docs_and_elixir_dfg_v1"
path = "tests/docs_and_elixir_dfg_v1.rs"
[[test]]
name = "doctor_tests"
path = "tests/doctor_tests.rs"
[[test]]
name = "elixir_method_infos_v1"
path = "tests/elixir_method_infos_v1.rs"
[[test]]
name = "error_handling_and_data_v1_tests"
path = "tests/error_handling_and_data_v1_tests.rs"
[[test]]
name = "exhaustive_matrix"
path = "tests/exhaustive_matrix.rs"
[[test]]
name = "explain_callers_cross_lang_v1"
path = "tests/explain_callers_cross_lang_v1.rs"
[[test]]
name = "explain_cross_command_consistency_v1"
path = "tests/explain_cross_command_consistency_v1.rs"
[[test]]
name = "format_flag_strictness_v1"
path = "tests/format_flag_strictness_v1.rs"
[[test]]
name = "high_bundle_progress_determinism_coverage_v1"
path = "tests/high_bundle_progress_determinism_coverage_v1.rs"
[[test]]
name = "hubs_line_population_v1"
path = "tests/hubs_line_population_v1.rs"
[[test]]
name = "hygiene_and_crash_fixes_v1"
path = "tests/hygiene_and_crash_fixes_v1.rs"
[[test]]
name = "inheritance_and_dead_cleanup_v1_test"
path = "tests/inheritance_and_dead_cleanup_v1_test.rs"
[[test]]
name = "interface_extraction_ocaml_elixir_v1"
path = "tests/interface_extraction_ocaml_elixir_v1.rs"
[[test]]
name = "ipc_message_size_test"
path = "tests/ipc_message_size_test.rs"
[[test]]
name = "kotlin_extract_and_cpp_extensions_v1"
path = "tests/kotlin_extract_and_cpp_extensions_v1.rs"
[[test]]
name = "l2_api_validation_test"
path = "tests/l2_api_validation_test.rs"
[[test]]
name = "l2_daemon_cache_bench_test"
path = "tests/l2_daemon_cache_bench_test.rs"
[[test]]
name = "l2_ir_cost_bench_test"
path = "tests/l2_ir_cost_bench_test.rs"
[[test]]
name = "lang_detect_default_v1_test"
path = "tests/lang_detect_default_v1_test.rs"
[[test]]
name = "language_adapter_fixes_v1"
path = "tests/language_adapter_fixes_v1.rs"
[[test]]
name = "language_adapters_completeness_v1"
path = "tests/language_adapters_completeness_v1.rs"
[[test]]
name = "language_autodetect_tests"
path = "tests/language_autodetect_tests.rs"
[[test]]
name = "language_command_matrix"
path = "tests/language_command_matrix.rs"
[[test]]
name = "language_coverage_fixes_v1"
path = "tests/language_coverage_fixes_v1.rs"
[[test]]
name = "language_specific_bugs_v1"
path = "tests/language_specific_bugs_v1.rs"
[[test]]
name = "low_cleanup_bundle_v1"
path = "tests/low_cleanup_bundle_v1.rs"
[[test]]
name = "med_cleanup_bundle_v1"
path = "tests/med_cleanup_bundle_v1.rs"
[[test]]
name = "med_low_schema_cleanup_v1"
path = "tests/med_low_schema_cleanup_v1.rs"
[[test]]
name = "naming_majority_determinism_v1"
path = "tests/naming_majority_determinism_v1.rs"
[[test]]
name = "non_judgment_call_bugs_v1"
path = "tests/non_judgment_call_bugs_v1.rs"
[[test]]
name = "p19_secondary_fixes_v1"
path = "tests/p19_secondary_fixes_v1.rs"
[[test]]
name = "p2_multilang_tests"
path = "tests/p2_multilang_tests.rs"
[[test]]
name = "path_and_schema_cleanup_v3"
path = "tests/path_and_schema_cleanup_v3.rs"
[[test]]
name = "pattern_match_arm_undercount_v1"
path = "tests/pattern_match_arm_undercount_v1.rs"
[[test]]
name = "patterns_test"
path = "tests/patterns_test.rs"
[[test]]
name = "pdg_bounds_and_stdout_hygiene_v1"
path = "tests/pdg_bounds_and_stdout_hygiene_v1.rs"
[[test]]
name = "quality_metrics_and_schema_v1"
path = "tests/quality_metrics_and_schema_v1.rs"
[[test]]
name = "reaching_defs_cli_tests"
path = "tests/reaching_defs_cli_tests.rs"
[[test]]
name = "real_repo_fixes_v1"
path = "tests/real_repo_fixes_v1.rs"
[[test]]
name = "remaining_test"
path = "tests/remaining_test.rs"
[[test]]
name = "residual_bugs_v1"
path = "tests/residual_bugs_v1.rs"
[[test]]
name = "resources_ast_gate_v1"
path = "tests/resources_ast_gate_v1.rs"
[[test]]
name = "review_followup_v1"
path = "tests/review_followup_v1.rs"
[[test]]
name = "salsa_lang_isolation_test"
path = "tests/salsa_lang_isolation_test.rs"
[[test]]
name = "schema_cleanup_v1"
path = "tests/schema_cleanup_v1.rs"
[[test]]
name = "schema_cleanup_v2"
path = "tests/schema_cleanup_v2.rs"
[[test]]
name = "schema_unification_v1"
path = "tests/schema_unification_v1.rs"
[[test]]
name = "secure_sweep_tests"
path = "tests/secure_sweep_tests.rs"
[[test]]
name = "secure_utf8_tolerance_v1"
path = "tests/secure_utf8_tolerance_v1.rs"
[[test]]
name = "semantic_lang_flag_test"
path = "tests/semantic_lang_flag_test.rs"
[[test]]
name = "sibling_resolver_gaps_v1"
path = "tests/sibling_resolver_gaps_v1.rs"
[[test]]
name = "smells_pr_focused_filter_test"
path = "tests/smells_pr_focused_filter_test.rs"
[[test]]
name = "structure_json_escape_v1"
path = "tests/structure_json_escape_v1.rs"
[[test]]
name = "structure_method_infos_all_langs_v1"
path = "tests/structure_method_infos_all_langs_v1.rs"
[[test]]
name = "surface_gaps_v1"
path = "tests/surface_gaps_v1.rs"
[[test]]
name = "taint_test"
path = "tests/taint_test.rs"
[[test]]
name = "todo_aggregation_tests"
path = "tests/todo_aggregation_tests.rs"
[[test]]
name = "typeid_mismatch_test"
path = "tests/typeid_mismatch_test.rs"
[[test]]
name = "typescript_large_file_perf_v1"
path = "tests/typescript_large_file_perf_v1.rs"
[[test]]
name = "unicode_truncation_test"
path = "tests/unicode_truncation_test.rs"
[[test]]
name = "ux_and_explain_completeness_v1"
path = "tests/ux_and_explain_completeness_v1.rs"
[[test]]
name = "val003_daemon_registry_test"
path = "tests/val003_daemon_registry_test.rs"
[[test]]
name = "val006_daemon_startup_race_test"
path = "tests/val006_daemon_startup_race_test.rs"
[[test]]
name = "val011_vuln_typescript_autodetect_test"
path = "tests/val011_vuln_typescript_autodetect_test.rs"
[[test]]
name = "val013_daemon_status_cross_cwd_test"
path = "tests/val013_daemon_status_cross_cwd_test.rs"
[[test]]
name = "verification_and_metrics_completeness_v1"
path = "tests/verification_and_metrics_completeness_v1.rs"
[[test]]
name = "verification_pipeline_completeness_v1"
path = "tests/verification_pipeline_completeness_v1.rs"
[[test]]
name = "vuln_autodetect_tests"
path = "tests/vuln_autodetect_tests.rs"
[[test]]
name = "vuln_detection_gap_fixes_v1_test"
path = "tests/vuln_detection_gap_fixes_v1_test.rs"
[[test]]
name = "vuln_format_sql_fp_narrowing_v1_test"
path = "tests/vuln_format_sql_fp_narrowing_v1_test.rs"
[[test]]
name = "vuln_js_res_json_fp_narrowing_v1_test"
path = "tests/vuln_js_res_json_fp_narrowing_v1_test.rs"
[[test]]
name = "vuln_js_test_file_suppression_v1_test"
path = "tests/vuln_js_test_file_suppression_v1_test.rs"
[[test]]
name = "vuln_migration_v1_composite_red"
path = "tests/vuln_migration_v1_composite_red.rs"
[[test]]
name = "vuln_migration_v1_red"
path = "tests/vuln_migration_v1_red.rs"
[[test]]
name = "vuln_sarif_deserialization_test"
path = "tests/vuln_sarif_deserialization_test.rs"
[[test]]
name = "vuln_secure_autodetect_parity_v1"
path = "tests/vuln_secure_autodetect_parity_v1.rs"
[[test]]
name = "vuln_ssrf_test"
path = "tests/vuln_ssrf_test.rs"
[[test]]
name = "walker_consolidation_tests"
path = "tests/walker_consolidation_tests.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.bumpalo]
version = "3.16.0"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.clap]
version = "4.0"
features = ["derive"]
[dependencies.colored]
version = "2"
[dependencies.comfy-table]
version = "7"
[dependencies.ctrlc]
version = "3.4"
features = ["termination"]
[dependencies.dashmap]
version = "5"
[dependencies.dirs]
version = "5"
[dependencies.dunce]
version = "1.0"
[dependencies.hashbrown]
version = "0.14.0"
[dependencies.line-numbers]
version = "0.3.0"
[dependencies.md5]
version = "0.7"
[dependencies.radix-heap]
version = "0.4.2"
[dependencies.regex]
version = "1"
[dependencies.rustc-hash]
version = "2.0.0"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]
[dependencies.serde_yaml]
version = "0.9"
[dependencies.smallvec]
version = "1.13.2"
[dependencies.streaming-iterator]
version = "0.1"
[dependencies.strsim]
version = "0.11.0"
[dependencies.tempfile]
version = "3.0"
[dependencies.thiserror]
version = "1.0"
[dependencies.tldr-core]
version = "0.4.0"
default-features = false
[dependencies.tldr-daemon]
version = "0.4.0"
[dependencies.tldr-mcp]
version = "0.4.0"
[dependencies.tokio]
version = "1"
features = [
"net",
"io-util",
"sync",
"rt-multi-thread",
"macros",
"time",
"signal",
]
[dependencies.tree-sitter]
version = "=0.25.0"
[dependencies.tree-sitter-c]
version = "=0.23.4"
[dependencies.tree-sitter-c-sharp]
version = "=0.23.1"
[dependencies.tree-sitter-cpp]
version = "=0.23.4"
[dependencies.tree-sitter-elixir]
version = "=0.3.4"
[dependencies.tree-sitter-go]
version = "=0.23.4"
[dependencies.tree-sitter-java]
version = "=0.23.5"
[dependencies.tree-sitter-kotlin-ng]
version = "=1.1.0"
[dependencies.tree-sitter-lua]
version = "=0.2.0"
[dependencies.tree-sitter-luau]
version = "=1.2.0"
[dependencies.tree-sitter-ocaml]
version = "=0.24.2"
[dependencies.tree-sitter-php]
version = "=0.23.11"
[dependencies.tree-sitter-python]
version = "=0.23.6"
[dependencies.tree-sitter-ruby]
version = "=0.23.1"
[dependencies.tree-sitter-rust]
version = "=0.23.3"
[dependencies.tree-sitter-scala]
version = "=0.24.0"
[dependencies.tree-sitter-swift]
version = "=0.7.1"
[dependencies.tree-sitter-typescript]
version = "=0.23.2"
[dependencies.typed-arena]
version = "2.0.2"
[dependencies.walkdir]
version = "2"
[dependencies.which]
version = "6"
[dependencies.wu-diff]
version = "0.1.2"
[dev-dependencies.assert_cmd]
version = "2.0"
[dev-dependencies.paste]
version = "1"
[dev-dependencies.predicates]
version = "3.0"
[dev-dependencies.proptest]
version = "1.4"
[dev-dependencies.serial_test]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"net",
"io-util",
"sync",
"rt-multi-thread",
"macros",
"time",
"test-util",
]
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[target."cfg(windows)".dependencies.windows-sys]
version = "0.52"
features = [
"Win32_Storage_FileSystem",
"Win32_System_Threading",
"Win32_Foundation",
"Win32_System_IO",
]