[package]
edition = "2024"
name = "cpp_code_analysis"
version = "0.2.0"
authors = ["CppCXY"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The analysis layer of cpp_ls: the preprocessor, symbol scopes, type inference and the semantic checks."
readme = false
keywords = [
"cpp",
"language-server",
]
categories = ["development-tools"]
license = "MIT"
repository = "https://github.com/CppCXY/cpp_ls"
resolver = "2"
[features]
perf-probe = []
[lib]
name = "cpp_code_analysis"
path = "src/lib.rs"
[[test]]
name = "allocation_probe"
path = "tests/allocation_probe.rs"
[[test]]
name = "api_style"
path = "tests/api_style.rs"
[[test]]
name = "c_corpus"
path = "tests/c_corpus.rs"
[[test]]
name = "checks"
path = "tests/checks.rs"
[[test]]
name = "closure_probe"
path = "tests/closure_probe.rs"
[[test]]
name = "codestyle_probe"
path = "tests/codestyle_probe.rs"
[[test]]
name = "completion"
path = "tests/completion.rs"
[[test]]
name = "completion_config"
path = "tests/completion_config.rs"
[[test]]
name = "conditional_definitions"
path = "tests/conditional_definitions.rs"
[[test]]
name = "config"
path = "tests/config.rs"
[[test]]
name = "cooked"
path = "tests/cooked.rs"
[[test]]
name = "cpp_corpus"
path = "tests/cpp_corpus.rs"
[[test]]
name = "diagnostics"
path = "tests/diagnostics.rs"
[[test]]
name = "diagnostics_rate"
path = "tests/diagnostics_rate.rs"
[[test]]
name = "documentation"
path = "tests/documentation.rs"
[[test]]
name = "expand"
path = "tests/expand.rs"
[[test]]
name = "file"
path = "tests/file.rs"
[[test]]
name = "filefacts_probe"
path = "tests/filefacts_probe.rs"
[[test]]
name = "folding"
path = "tests/folding.rs"
[[test]]
name = "format"
path = "tests/format.rs"
[[test]]
name = "format_scanner"
path = "tests/format_scanner.rs"
[[test]]
name = "generics"
path = "tests/generics.rs"
[[test]]
name = "graph"
path = "tests/graph.rs"
[[test]]
name = "headers_sweep"
path = "tests/headers_sweep.rs"
[[test]]
name = "inference_probe"
path = "tests/inference_probe.rs"
[[test]]
name = "inlay"
path = "tests/inlay.rs"
[[test]]
name = "keystroke_probe"
path = "tests/keystroke_probe.rs"
[[test]]
name = "language"
path = "tests/language.rs"
[[test]]
name = "library_config"
path = "tests/library_config.rs"
[[test]]
name = "lifetime"
path = "tests/lifetime.rs"
[[test]]
name = "macro_arguments"
path = "tests/macro_arguments.rs"
[[test]]
name = "macros"
path = "tests/macros.rs"
[[test]]
name = "members_probe"
path = "tests/members_probe.rs"
[[test]]
name = "members_real"
path = "tests/members_real.rs"
[[test]]
name = "memory_probe"
path = "tests/memory_probe.rs"
[[test]]
name = "messages"
path = "tests/messages.rs"
[[test]]
name = "missing_include_probe"
path = "tests/missing_include_probe.rs"
[[test]]
name = "modifiers"
path = "tests/modifiers.rs"
[[test]]
name = "module_hover_probe"
path = "tests/module_hover_probe.rs"
[[test]]
name = "module_info"
path = "tests/module_info.rs"
[[test]]
name = "module_semantics"
path = "tests/module_semantics.rs"
[[test]]
name = "modules"
path = "tests/modules.rs"
[[test]]
name = "modules_probe"
path = "tests/modules_probe.rs"
[[test]]
name = "namespace_macros"
path = "tests/namespace_macros.rs"
[[test]]
name = "nested_conditional"
path = "tests/nested_conditional.rs"
[[test]]
name = "no_global_state"
path = "tests/no_global_state.rs"
[[test]]
name = "one_file"
path = "tests/one_file.rs"
[[test]]
name = "one_file_probe"
path = "tests/one_file_probe.rs"
[[test]]
name = "outline"
path = "tests/outline.rs"
[[test]]
name = "partition_probe"
path = "tests/partition_probe.rs"
[[test]]
name = "patch_probe"
path = "tests/patch_probe.rs"
[[test]]
name = "preprocess"
path = "tests/preprocess.rs"
[[test]]
name = "pump_probe"
path = "tests/pump_probe.rs"
[[test]]
name = "ranges"
path = "tests/ranges.rs"
[[test]]
name = "refinement"
path = "tests/refinement.rs"
[[test]]
name = "refinement_probe"
path = "tests/refinement_probe.rs"
[[test]]
name = "rendering_real"
path = "tests/rendering_real.rs"
[[test]]
name = "rendering_scope"
path = "tests/rendering_scope.rs"
[[test]]
name = "reported_defects"
path = "tests/reported_defects.rs"
[[test]]
name = "reported_parameters"
path = "tests/reported_parameters.rs"
[[test]]
name = "resolution_rate"
path = "tests/resolution_rate.rs"
[[test]]
name = "response_files"
path = "tests/response_files.rs"
[[test]]
name = "scale_probe"
path = "tests/scale_probe.rs"
[[test]]
name = "scope_probe"
path = "tests/scope_probe.rs"
[[test]]
name = "scopes"
path = "tests/scopes.rs"
[[test]]
name = "selection"
path = "tests/selection.rs"
[[test]]
name = "sema_cost"
path = "tests/sema_cost.rs"
[[test]]
name = "semantic"
path = "tests/semantic.rs"
[[test]]
name = "signature"
path = "tests/signature.rs"
[[test]]
name = "signature_real"
path = "tests/signature_real.rs"
[[test]]
name = "slice_probe"
path = "tests/slice_probe.rs"
[[test]]
name = "smart_arrow"
path = "tests/smart_arrow.rs"
[[test]]
name = "start_shape"
path = "tests/start_shape.rs"
[[test]]
name = "std_set_probe"
path = "tests/std_set_probe.rs"
[[test]]
name = "std_visibility_probe"
path = "tests/std_visibility_probe.rs"
[[test]]
name = "stored_refinement"
path = "tests/stored_refinement.rs"
[[test]]
name = "style_checks"
path = "tests/style_checks.rs"
[[test]]
name = "symbol"
path = "tests/symbol.rs"
[[test]]
name = "targets"
path = "tests/targets.rs"
[[test]]
name = "toolchain"
path = "tests/toolchain.rs"
[[test]]
name = "translation_unit"
path = "tests/translation_unit.rs"
[[test]]
name = "types"
path = "tests/types.rs"
[[test]]
name = "ue"
path = "tests/ue.rs"
[[test]]
name = "ue_engine"
path = "tests/ue_engine.rs"
[[test]]
name = "ue_lint"
path = "tests/ue_lint.rs"
[[test]]
name = "unit_differential_probe"
path = "tests/unit_differential_probe.rs"
[[test]]
name = "unit_probe"
path = "tests/unit_probe.rs"
[[test]]
name = "unit_read_probe"
path = "tests/unit_read_probe.rs"
[[test]]
name = "unit_scope_boundary"
path = "tests/unit_scope_boundary.rs"
[[test]]
name = "unit_stream_probe"
path = "tests/unit_stream_probe.rs"
[[test]]
name = "walk_probe"
path = "tests/walk_probe.rs"
[dependencies.cpp_parser]
version = "0.2.0"
[dependencies.glob]
version = "0.3"
[dependencies.log]
version = "0.4.33"
[dependencies.redb]
version = "4.4.0"
[dependencies.rust-i18n]
version = "3"
[dependencies.rustc-hash]
version = "2"
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.smol_str]
version = "0.2"
[dependencies.toml]
version = "0.8"
[dependencies.zstd]
version = "0.13"
[dev-dependencies.libmimalloc-sys]
version = "0.1"
[dev-dependencies.mimalloc]
version = "0.1"
default-features = false