[package]
edition = "2024"
name = "cpp_parser"
version = "0.4.0"
authors = ["CppCXY"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lossless C++ parser over the preprocessed text: the tree every layer above it reads."
readme = "README.md"
keywords = [
"cpp",
"language-server",
]
categories = ["development-tools"]
license = "MIT"
repository = "https://github.com/CppCXY/cpp_ls"
resolver = "2"
[lib]
name = "cpp_parser"
path = "src/lib.rs"
[[bin]]
name = "cpp_dump"
path = "src/bin/main.rs"
[[test]]
name = "ast"
path = "tests/ast.rs"
[[test]]
name = "c_language"
path = "tests/c_language.rs"
[[test]]
name = "concepts"
path = "tests/concepts.rs"
[[test]]
name = "contracts"
path = "tests/contracts.rs"
[[test]]
name = "cpp11"
path = "tests/cpp11.rs"
[[test]]
name = "cpp14"
path = "tests/cpp14.rs"
[[test]]
name = "cpp17"
path = "tests/cpp17.rs"
[[test]]
name = "cpp20"
path = "tests/cpp20.rs"
[[test]]
name = "cpp23"
path = "tests/cpp23.rs"
[[test]]
name = "cuda"
path = "tests/cuda.rs"
[[test]]
name = "declarator_shapes"
path = "tests/declarator_shapes.rs"
[[test]]
name = "designators"
path = "tests/designators.rs"
[[test]]
name = "direct_init"
path = "tests/direct_init.rs"
[[test]]
name = "doc"
path = "tests/doc.rs"
[[test]]
name = "doc_lexer"
path = "tests/doc_lexer.rs"
[[test]]
name = "doc_owner"
path = "tests/doc_owner.rs"
[[test]]
name = "doc_shape"
path = "tests/doc_shape.rs"
[[test]]
name = "docs_ast"
path = "tests/docs_ast.rs"
[[test]]
name = "expressions"
path = "tests/expressions.rs"
[[test]]
name = "extension_sweep"
path = "tests/extension_sweep.rs"
[[test]]
name = "extensions_clang"
path = "tests/extensions_clang.rs"
[[test]]
name = "extensions_comprehensive"
path = "tests/extensions_comprehensive.rs"
[[test]]
name = "extensions_gnu"
path = "tests/extensions_gnu.rs"
[[test]]
name = "extensions_msvc"
path = "tests/extensions_msvc.rs"
[[test]]
name = "features"
path = "tests/features.rs"
[[test]]
name = "gaps"
path = "tests/gaps.rs"
[[test]]
name = "invariants"
path = "tests/invariants.rs"
[[test]]
name = "lexer"
path = "tests/lexer.rs"
[[test]]
name = "linkage_declarations"
path = "tests/linkage_declarations.rs"
[[test]]
name = "lossless"
path = "tests/lossless.rs"
[[test]]
name = "macros"
path = "tests/macros.rs"
[[test]]
name = "modern"
path = "tests/modern.rs"
[[test]]
name = "old_style"
path = "tests/old_style.rs"
[[test]]
name = "operators"
path = "tests/operators.rs"
[[test]]
name = "parse_cost"
path = "tests/parse_cost.rs"
[[test]]
name = "parse_probe"
path = "tests/parse_probe.rs"
[[test]]
name = "reflection"
path = "tests/reflection.rs"
[[test]]
name = "smoke"
path = "tests/smoke.rs"
[[test]]
name = "stream_errors_probe"
path = "tests/stream_errors_probe.rs"
[[test]]
name = "symbols"
path = "tests/symbols.rs"
[[test]]
name = "token_range"
path = "tests/token_range.rs"
[dependencies.rowan]
version = "0.17.0"
[dependencies.rust-i18n]
version = "3"
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.unicode-ident]
version = "1.0.26"