Files
codeql/rust/extractor/Cargo.toml
Paolo Tranquilli 299fe2eb3f Rust: add proc-macro capabilities to QL tests
This adds the possibility to add a special `proc_macro.rs` source file
to QL tests, which will be generated into a `proc_macro` crate the
usual `lib` crate depends on.

This allow to define procedural macros in QL tests, and is here used to
move the `macro-expansion` integration test to be a language test
instead.

As the generated manifests involved were starting to get a bit complex,
they are now generated from a `mustache` template.
2025-06-17 16:58:33 +02:00

45 lines
1.1 KiB
TOML

[package]
name = "codeql-rust"
version = "0.1.0"
edition = "2024"
license = "MIT"
# When updating these dependencies, run `rust/update_cargo_deps.sh`
[dependencies]
anyhow = "1.0.97"
clap = { version = "4.5.35", features = ["derive"] }
figment = { version = "0.10.19", features = ["env", "yaml"] }
num-traits = "0.2.19"
ra_ap_base_db = "0.0.273"
ra_ap_hir = "0.0.273"
ra_ap_hir_def = "0.0.273"
ra_ap_ide_db = "0.0.273"
ra_ap_hir_ty = "0.0.273"
ra_ap_hir_expand = "0.0.273"
ra_ap_load-cargo = "0.0.273"
ra_ap_paths = "0.0.273"
ra_ap_project_model = "0.0.273"
ra_ap_syntax = "0.0.273"
ra_ap_vfs = "0.0.273"
ra_ap_parser = "0.0.273"
ra_ap_span = "0.0.273"
ra_ap_cfg = "0.0.273"
ra_ap_intern = "0.0.273"
serde = "1.0.219"
serde_with = "3.12.0"
triomphe = "0.1.14"
argfile = "0.2.1"
codeql-extractor = { path = "../../shared/tree-sitter-extractor" }
rust-extractor-macros = { path = "macros" }
itertools = "0.14.0"
glob = "0.3.2"
chrono = { version = "0.4.40", features = ["serde"] }
serde_json = "1.0.140"
dunce = "1.0.5"
toml = "0.8.20"
tracing = "0.1.41"
tracing-flame = "0.2.0"
tracing-subscriber = "0.3.19"
chalk-ir = "0.100.0"
mustache = "0.9.0"