DioxusLabs/dioxus

Add TOML schema to Dioxus.toml templates

Open

#5,376 opened on Mar 15, 2026

View on GitHub
 (0 comments) (4 reactions) (0 assignees)Rust (1,655 forks)batch import
enhancementgood first issuestores

Repository metrics

Stars
 (36,038 stars)
PR merge metrics
 (Avg merge 16d 13h) (9 merged PRs in 30d)

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 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