Problem
|
"None", |
|
"LineDirectivesOnly", |
|
"LineTablesOnly", |
|
"Limited", |
|
"Full" |
☝🏻There is Capitalized camel-case, but cargo throws error and requires lowercase-kebab-cased names.
Error:
error: invalid value: string "Full", expected a boolean, 0, 1, 2, "none", "limited", "full", "line-tables-only", or "line-directives-only"
--> Cargo.toml:203:9
|
203 | debug = "Full"
Steps
How to test schema and reproduce the problem:
- get
taplo (or any tool that you prefer)
- validate any your
Cargo.toml with those options that is TomlDebugInfo's enum-variants,
- e.g. with
[profile.dev]
debug = "Full"
command for third step:
taplo check Cargo.toml —verbose \
--schema=https://raw.githubusercontent.com/rust-lang/cargo/refs/heads/master/crates/cargo-util-schemas/manifest.schema.json
Possible Solution(s)
Probably just add rename-rule-attrs. 🤷🏻♂️
Notes
No response
Version
cargo 1.99.0-nightly (59800466c 2026-07-07)
release: 1.99.0-nightly
commit-hash: 59800466c5c41c444d264b1010b4d57e85a7117f
commit-date: 2026-07-07
host: aarch64-apple-darwin
libgit2: 1.9.4 (sys:0.21.0 vendored)
libcurl: 8.7.1 (sys:0.4.90+curl-8.21.0 system ssl:(SecureTransport) LibreSSL/3.3.6)
ssl: OpenSSL 3.6.3 9 Jun 2026
os: Mac OS 15.7.7 [64-bit]
Problem
cargo/crates/cargo-util-schemas/manifest.schema.json
Lines 1449 to 1453 in 2ceefa0
☝🏻There is Capitalized camel-case, but cargo throws error and requires lowercase-kebab-cased names.
Error:
Steps
How to test schema and reproduce the problem:
taplo(or any tool that you prefer)Cargo.tomlwith those options that isTomlDebugInfo's enum-variants,[profile.dev]debug = "Full"command for third step:
Possible Solution(s)
Probably just add rename-rule-attrs. 🤷🏻♂️
Notes
No response
Version