Commit Graph

4 Commits

Author SHA1 Message Date
Xavier Claessens ea42d2d019 cargo: Fix '1.0.45' version conversion
The middle 0 was wrongly dropped.
2023-10-09 21:13:58 -04:00
Xavier Claessens b5b952688f cargo: builder: Remove all duplicated functions
Keep only the Builder class, there is no point in duplicating
everything.
2023-10-09 21:13:58 -04:00
Dylan Baker 4017dab484 cargo/cfg: Add a parser for the rust/cargo cfg() expressions
This uses a recursive descent parser + lexer to create an IR from cfg()
expressions, which it then converts into meson IR.
2023-06-07 19:20:30 -07:00
Dylan Baker 5e59e5a9e4 cargo/version: add a function to convert cargo versioning to meson 2023-06-07 19:20:30 -07:00