Skip to content

Commit 514788b

Browse files
committed
docs: add taplo installation to developer setup
Add taplo-cli (TOML formatter) to the Rust installation script and update developer documentation to explain what tools are installed. This fixes the 'make: taplo: No such file or directory' error when running make format commands. - Added taplo-cli installation to install-rust.sh - Updated getting-started.mdx to list installed tools and their purpose - taplo-cli is required for make format to work with TOML files
1 parent c75de77 commit 514788b

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

website/docs/developers/getting-started.mdx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,17 @@ development environment and build OpenMina from source.
3939

4040
#### 1. Rust Toolchain
4141

42-
OpenMina requires both stable and nightly Rust toolchains:
42+
OpenMina requires both stable and nightly Rust toolchains, plus additional tools
43+
for development:
4344

4445
<CodeBlock language="bash">{InstallRustSh}</CodeBlock>
4546

47+
This installs:
48+
49+
- Rust 1.84 (stable) and nightly toolchains
50+
- Required components: `rustfmt`, `clippy`, `rust-src`
51+
- `taplo-cli`: TOML formatter required for `make format`
52+
4653
#### 2. System Dependencies
4754

4855
<Tabs groupId="operating-systems">

website/docs/developers/scripts/setup/install-rust.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@ rustup component add rustfmt clippy --toolchain 1.84
1616

1717
# Add required components for nightly
1818
rustup component add rustfmt clippy rust-src --toolchain nightly
19+
20+
# Install taplo (TOML formatter, required for `make format`)
21+
cargo install taplo-cli --locked

0 commit comments

Comments
 (0)