Граф коммитов

11 Коммитов

Автор SHA1 Сообщение Дата
Cornelius Riemenschneider e8aa5db07a Rust: Update cargo dependencies.
There was a recent round of tree-sitter-* package releases,
so the latest code is now a) released and b) available on crates.io.

Therefore, move away from the (super slow on CI) git dependencies to released crates instead.
This also includes a run of `cargo update`, so there's a bunch of more changes to the lockfile.
2024-11-11 12:13:14 +01:00
Paolo Tranquilli 41d0085918 Rust: address review 2024-10-24 17:54:18 +02:00
Paolo Tranquilli 3f8d438851 Rust: move `qltest` to rust code, add `options` with cargo check 2024-10-24 12:55:23 +02:00
Arthur Baars cad2b74137 Rust: integrate Rust Analyzer's Semantic module into extractor 2024-10-10 15:19:46 +02:00
Paolo Tranquilli 96dda8808c Rust: rename `generate-schema -> ast-generator` 2024-10-08 10:03:00 +02:00
Arthur Baars 1f30d5f41b Rust: generate schema.py and extractor from ungrammar 2024-09-19 13:00:05 +02:00
Arthur Baars 61ac8d66f5 Rust: make things compile 2024-09-19 10:51:52 +02:00
Arthur Baars d5c0d41f98 Rust: add generate-schema project 2024-09-19 10:51:44 +02:00
Paolo Tranquilli 5432493945 Rust: log detected manifests 2024-09-17 15:35:26 +02:00
Paolo Tranquilli 1b3a5cdab1 Rust: make the cli flags override automatic
This makes the clap flags overlay over `Config` entirely derived via an
attribute macro. Also, the `--intputs-file` option is replaced by a more
standard and versatile `@` parameter file mechanism.
2024-09-11 17:28:59 +02:00
Paolo Tranquilli f8c9d96882 Bazel: remove non-working fake `tree-sitter-extractor` workaround
The `.cargo/config.toml` override based workaround wasn't really
working, as while `cargo build|check` was reading that, `cargo metadata`
wasn't, ending up in a completely broken IDE experience.

For the moment, we just use a unified workspace `Cargo.toml` for all
extractors using the shared tree-sitter code, which has the downside of
making bazel pull in dependencies for all of them, and not being able to
do sparse checkouts for them. We should investigate and rivist this in
the future.
2024-09-11 08:17:11 +02:00