Use workspace definitions for all crates and update to the 2021 edition (#32544)

This commit is contained in:
Martin Robinson 2024-06-18 11:22:08 +02:00 committed by GitHub
parent 42b09d483f
commit 4a7f3bac7c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
60 changed files with 283 additions and 268 deletions

View file

@ -465,6 +465,8 @@ def check_toml(file_name, lines):
yield (idx + 1, "found asterisk instead of minimum version number")
for license_line in licenses_toml:
ok_licensed |= (license_line in line)
if "license.workspace" in line:
ok_licensed = True
if not ok_licensed:
yield (0, ".toml file should contain a valid license.")