SchemaStore/schemastore

Failing to parse valid cargo-make toml

Closed

#3,684 opened on Apr 2, 2024

 (2 comments) (0 reactions) (0 assignees)JavaScript (2,208 forks)github user discovery
BugHelp Wanted

Repository metrics

Stars
 (3,774 stars)
PR merge metrics
 (Avg merge 4d 11h) (141 merged PRs in 30d)

Description

Area with issue?

JSON Schema

✔️ Expected Behavior

Makefile.toml below should be valid

❌ Actual Behavior

Validation error. Even Better Toml (which i believe uses taplo) says: {"crate_name":"cargo-expand","version":"1.0.80"} is not valid under any of the given schemas in VS Code

YAML or JSON file that does not work.

[tasks.test_task]
install_crate = { crate_name = "cargo-expand", version = "1.0.80" }

IDE or code editor.

Visual Studio Code

Are you making a PR for this?

No, someone else must create the PR.

Contributor guide