DioxusLabs/dioxus

Add TOML schema to Dioxus.toml templates

开放

#5,376 创建于 2026年3月15日

 (1 条评论) (4 个反应) (0 位负责人)Rust (1,655 个派生)batch import
enhancementgood first issuestores

仓库指标

星标
 (36,038 个星标)
PR 合并指标
 (平均合并 16天 13小时) (30 天内合并 9 个 PR)

描述

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.

贡献者指南