[Gitlab Code Parser] Create GitLab Code Parser Project
Problem to solve
The One Parser epic needs a compilable Rust workspace so feature teams can begin integrating and benchmarking the library. Without a scaffold, every consumer is blocked.
Proposal
- Create a top‑level Cargo workspace:
-
Cargo.tomlwithmembers = ["crates/parser-core"] - Lock shared versions of
ast‑grep-*,serde,once_cell.
-
- Add minimal
parser-corecrate:- Expose placeholder API (
pub fn add(a,b) -> i32) with unit test to exercise CI.
- Expose placeholder API (
- Repository hygiene & tooling:
-
.gitignorefortarget/ -
LICENSE.md(MIT) -
rust-toolchain.tomlpinningstable+rustfmt,clippy -
mise.tomlfor one‑shot tool install.
-
- Author a concise
README.mdcovering vision, features, setup.
Edited by 🤖 GitLab Bot 🤖