diff options
| author | Xavier Claessens <xclaessens@netflix.com> | 2025-10-16 18:04:56 -0400 |
|---|---|---|
| committer | Xavier Claessens <xclaesse@gmail.com> | 2025-10-22 15:43:06 -0400 |
| commit | b011f69bfe5943afdfdf4e381653204445614d9f (patch) | |
| tree | 825c4e8927345c904030f8b2641764e1f3d315c9 /.github | |
| parent | f4fbb17301d87e4c774ed50a449051511a3982c2 (diff) | |
| download | meson-b011f69bfe5943afdfdf4e381653204445614d9f.tar.gz | |
cargo: Move all conversions in _raw_to_dataclass()
This allows keeping the manifest unmodified which is better practice for
a parser. Previously some places had e.g. raw.setdefault().
It also fix some values:
- BuildTarget.doc_scrape_examples is removed. It seems to be some
experimental cargo feature, but I haven't found documentation that
says it should be part of the manifest. It was also missing from raw
manifest.
- BuildTarget.edition does not default to 2015, it default to package's
edition, which itself default to 2015.
- bench value defaults to False for tests.
- Dependency.path must be relative to its Cargo.toml location. If the
value comes from the package it can be used as-is, but if it comes
from workspace it must be made relative.
- Library.name default to its package name with dash replaced with
underscores.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions
