Xavier Claessens
9b8378985d
cargo: Load Cargo.lock
...
Cargo.lock is essentially identical to subprojects/*.wrap files. When a
(sub)project has a Cargo.lock file this allows automatic fallback for
its cargo dependencies.
6 months ago
Xavier Claessens
ea42d2d019
cargo: Fix '1.0.45' version conversion
...
The middle 0 was wrongly dropped.
1 year ago
Xavier Claessens
b5b952688f
cargo: builder: Remove all duplicated functions
...
Keep only the Builder class, there is no point in duplicating
everything.
1 year ago
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.
2 years ago
Dylan Baker
5e59e5a9e4
cargo/version: add a function to convert cargo versioning to meson
2 years ago