← All Workshops

MudEngine Part 1: Requirements

Step 13 / 22

Install taplo

taplo is a TOML formatter and linter — the rustfmt equivalent for .toml files. It normalises indentation, spacing, and key ordering, and flags syntax mistakes. We will use it in Part 7 to keep the game's Game.toml world file tidy.

Install it now:

Install taplo
cargo binstall taplo-cli
📖 What is taplo?

taplo is a TOML toolkit written in Rust (https://taplo.tamasfe.dev). Its main commands:

  • taplo format — reformat TOML files (indentation, alignment, ordering)
  • taplo check — verify files parse and match your config
  • taplo lint — flag style issues and common mistakes

It also ships a language server (taplo lsp) that powers editor auto-formatting on save. And because taplo is available as a mise tool, you can manage it the same way as dx once we create a project mise.toml in Part 4.

Step 13 / 22