Closed
Description
Problem
According to The Manifest Format, the maintenance
key is required. However, the setting the key causes a warning to be displayed (“warning: unused manifest key: package.maintenance”) when running various cargo commands, including cargo check
.
Update: the documentation for the [package]
and [badges]
sections were mixed together. In particular, there is no heading for [badges]
, and part of the documentation for [package]
was below information about [badges]
.
Steps
Create a new cargo packageAddmaintenance = { status = "actively-developed" }
to the[package]
section ofCargo.toml
.Runcargo check
:
❯ cargo check
warning: unused manifest key: package.maintenance
Finished dev [unoptimized + debuginfo] target(s) in 0.00s
Possible Solution(s)
I’m not sure if this is a documentation issue or a code issue. cargo
itself doesn’t seem to do anything with the key, but crates.io appears to have code related to it.
Notes
❯ cargo --version
cargo 1.39.0 (1c6ec66d5 2019-09-30)