# Шпаргалка команд ```bash cd workspace python3 tools/check_layout.py # file <=250 lines, dir <=4 files cargo metadata --no-deps cargo fmt --all -- --check cargo clippy --workspace --all-targets -- -D warnings cargo test --workspace cargo run -p icenet-city cargo run -p icenetd -- help cargo run -p icenetd -- route --from 1 --to 3 --class bulk --size 5000000 cargo run -p icenetd -- send --from 1 --to 3 --class text --ticks 1000 cargo run -p icenetd -- sim --csv metrics.csv --json scenario.json cargo run -p icenetd -- policy --service 77777 --size 5 --allow 1 cargo run -p icenetd -- wire-encode --service 7 --class text --text hello cargo run -p icenetd -- serve --bind 127.0.0.1:9000 --count 1 --timeout 5000 cargo run -p icenetd -- send-udp --to 127.0.0.1:9000 --service 7 --class text --text hello ``` Пакеты в `crates/*` — библиотеки, `apps/*` — исполняемые приложения. Cargo workspace использует общий `Cargo.lock` (коммитится) и закреплённый toolchain.