DioxusLabs/dioxus

Add TOML schema to Dioxus.toml templates

Ouverte

#5 376 ouverte le 15 mars 2026

 (1 commentaire) (4 réactions) (0 personne assignée)Rust (1 655 forks)batch import
enhancementgood first issuestores

Métriques du dépôt

Stars
 (36 038 étoiles)
Métriques de merge PR
 (Merge moyen 16j 13h) (9 PRs mergées en 30 j)

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.

Guide contributeur