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.

貢獻者指南