Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Contributing to FLUI

This page is for working on FLUI itself — its crates, its render pipeline, its CLI — not for building an application with it (see Installation and first run for that path instead).

The authoritative contributor references live in the repository, not duplicated here, so they stay in one place as they evolve:

  • AGENTS.md — the single agent/contributor guide: the design stance, worktree workflow, commands, enforced rules, and the Definition of Done.
  • CONTRIBUTING.md — planning a large change, git hygiene, reporting bugs, security.
  • docs/testing.md — the test pyramid, quality gates, and which CI job’s commands to run for what you touched.

Quick start

git clone https://github.com/vanyastaff/flui
cd flui
cargo build --workspace

Work happens in a dedicated git worktree per task (git worktree add), never the shared checkout; AGENTS.md’s “Working here” has the commit conventions. The local pre-PR checks run one at a time on the crates you changed (AGENTS.md, “Checking a change”):

cargo fmt --all
cargo clippy -p <crate> --all-targets -- -D warnings
cargo nextest run -p <crate>

This book

This site is itself a FLUI-workspace artifact, under book/. See .github/workflows/docs.yml for how it builds and deploys. A page here is a guide for readers; the design records and reference material stay in the repository’s own docs/, and the book links to them rather than copying them.

Every rust sample in the book compiles: src/book.rs makes each chapter a doctest of the flui facade, so cargo test -p flui --features testing,material,cupertino --doc book:: builds them all and runs the ones not marked no_run. A new chapter is listed there as well as in SUMMARY.md, setup a reader does not need goes on hidden # lines, and text that is not Rust is fenced text, never ignore.