OxL Справочник OxL
РусскийEnglish

error bad-manifest

error Стандарт: [III.2]

Некорректный манифест oxl.toml.

What it means#

The package manifest oxl.toml is missing, is not valid TOML, or violates the package format: a [package] table with name, version and edition, dependency tables [deps] and [dev-deps], profiles, [build], [lint] and [workspace] (part III.2). The package is the unit of build and versioning (§2.1), so nothing else can be compiled until the manifest is valid.

Example#

toml
# oxl.toml
[package]
name = "shop"
version = "0.3"   # <- bad-manifest (annotation, not TOML: version is not SemVer major.minor.patch)
edition = "2027"

How to fix#

toml
# oxl.toml
[package]
name = "shop"
version = "0.3.0"
edition = "2027"

Fix the field the message points at. Versions follow SemVer (0.3.0), edition is a released edition such as "2027", and every dependency in [deps] is a version requirement or a table with git or c.

See also#

OxL 1.0.0-beta · Версия документации 1.0.0-beta© OxwaldLink · сгенерировано из Стандарта, исходников std и руководства