DioxusLabs / DioxusLabs/dioxus

Add TOML schema to Dioxus.toml templates

Open
#5,376 1 comment 4 reactions 0 assignees View on GitHub
enhancement good first issue stores
Dominant language
Rust
Stars
39.1k
Forks
1.9k
Avg merge
4d 10h
Merged PRs (30d)
4

Description

I've had to do some digging while trying to correctly configure the CLI, since I didn't know all the options.
I just stumbled on [this](https://raw.githubusercontent.com/DioxusLabs/dioxus/refs/heads/main/packages/cli/schema.json) TOML schema; I haven't used it a lot but the additional Tombi suggestions appear to be very useful.

Wouldn't it make sense to include the schema (as shown) in the Dioxus.toml templates by default?
`#:schema https://raw.githubusercontent.com/DioxusLabs/dioxus/main/packages/cli/schema.json`

I'm fairly new to the Rust/TOML ecosystem, so appologies if this is a dumb request.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.