Ecosystem

TomlSmith is split across five repositories. The Rust library, CLI, language server, and playground share the parsing and formatting implementation; the remaining repositories contain benchmarks and visual assets.

Repositories

Repository What it is
tomlsmith The core: Rust library (tomlsmith), CLI (tomlsmith-cli), and language server (tomlsmith-lsp)
playground Browser workbench for checking and formatting TOML with WebAssembly
vscode-plugin The VS Code extension client for tomlsmith-lsp
benchmark End-to-end CLI measurements across TOML checkers and formatters
icon-assets Source files and exports for project icons and social previews

The playground

The playground source repository builds a browser-only workbench:

  • Switch explicitly between TOML 1.0 and TOML 1.1.
  • Analysis and a format preview refresh automatically as you edit; the preview never touches your source until you choose to apply it.
  • Navigate diagnostics by source position and read messages on hover or keyboard focus.
  • Inspect the formatted document, diagnostics, tokens, and document statistics side by side.
  • Choose an English or Simplified Chinese interface.

Analysis and formatting run locally in the current tab. Source is not uploaded.

How the pieces fit

How the TomlSmith pieces fit The TomlSmith core provides parsing, diagnostics, formatting, and highlighting to the CLI, playground, and language server. The VS Code plugin connects to the language server.tomlsmith parser · diagnostics · formatter · highlightstomlsmith-cli (terminal / CI) tomlsmith-lsp (any editor) playground (WASM, browser) vscode-plugin (VS Code)

benchmark checks product output before measuring CLI latency and memory. icon-assets contains the files used by the organization, website, playground, and editor extension.

Contributing

All repositories use the MIT license. Read the relevant CONTRIBUTING.md before opening a pull request and follow that repository's Code of Conduct.