Files
hcie-rust-v3.05/YARDIM.md
T
2026-07-09 02:59:53 +03:00

188 lines
13 KiB
Markdown
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# HCIE Rust v4 Çalıştırma Yardımı
Bu dosya `/mnt/extra/00_PROJECTS/hcie-rust-v4` kök dizini için hazırlanmıştır. Aşağıdaki komutlar aksi belirtilmedikçe bu kök dizinden çalıştırılır.
## Toplu komutlar
```bash
# Root workspace'deki tüm paketleri test et
cargo test --workspace
# Root workspace'deki tüm hedefleri test derlemesi yap: lib, bin, test, example, bench
cargo test --workspace --all-targets --no-run
# Root workspace'deki tüm hedefleri çalıştırılabilir test modunda çalıştır
cargo test --workspace --all-targets
# Tek bir paketin tüm testlerini çalıştır
cargo test -p <paket-adi>
# Tek bir integration test dosyasını çalıştır
cargo test -p <paket-adi> --test <test-adi>
# Tek bir example çalıştır
cargo run -p <paket-adi> --example <example-adi>
# Tek bir binary/app çalıştır
cargo run -p <paket-adi> --bin <binary-adi>
```
## Uygulamalar / Binary hedefleri
| Uygulama | Paket | Kök dizinden komut | Kaynak |
|---|---|---|---|
| `hcie-gui` | `hcie-gui-egui` | `cargo run -p hcie-gui-egui --bin hcie-gui` | `hcie-egui-app/crates/hcie-gui-egui/src/main.rs` |
### Alternatif uygulama komutları
```bash
# Egui native uygulaması, ilgili crate dizininden
cd hcie-egui-app/crates/hcie-gui-egui && cargo run --bin hcie-gui
```
## Paket test komutları
| Paket | Komut |
|---|---|
| `egui-panel-adapter` | `cargo test -p egui-panel-adapter` |
| `egui-panel-ai-chat` | `cargo test -p egui-panel-ai-chat` |
| `egui-panel-ai-script` | `cargo test -p egui-panel-ai-script` |
| `egui-panel-filters` | `cargo test -p egui-panel-filters` |
| `egui-panel-script` | `cargo test -p egui-panel-script` |
| `hcie-ai` | `cargo test -p hcie-ai` |
| `hcie-blend` | `cargo test -p hcie-blend` |
| `hcie-brush-engine` | `cargo test -p hcie-brush-engine` |
| `hcie-color` | `cargo test -p hcie-color` |
| `hcie-composite` | `cargo test -p hcie-composite` |
| `hcie-document` | `cargo test -p hcie-document` |
| `hcie-draw` | `cargo test -p hcie-draw` |
| `hcie-engine-api` | `cargo test -p hcie-engine-api` |
| `hcie-filter` | `cargo test -p hcie-filter` |
| `hcie-fx` | `cargo test -p hcie-fx` |
| `hcie-gui-egui` | `cargo test -p hcie-gui-egui` |
| `hcie-history` | `cargo test -p hcie-history` |
| `hcie-io` | `cargo test -p hcie-io` |
| `hcie-kra` | `cargo test -p hcie-kra` |
| `hcie-native` | `cargo test -p hcie-native` |
| `hcie-pixel-bridge` | `cargo test -p hcie-pixel-bridge` |
| `hcie-protocol` | `cargo test -p hcie-protocol` |
| `hcie-selection` | `cargo test -p hcie-selection` |
| `hcie-text` | `cargo test -p hcie-text` |
| `hcie-tile` | `cargo test -p hcie-tile` |
| `hcie-vector` | `cargo test -p hcie-vector` |
| `hcie-vision` | `cargo test -p hcie-vision` |
| `psd` | `cargo test -p psd` |
## Integration test listesi
| Test | Paket | Komut | Dosya |
|---|---|---|---|
| `blend_modes` | `hcie-blend` | `cargo test -p hcie-blend --test blend_modes` | `hcie-blend/tests/blend_modes.rs` |
| `stamp` | `hcie-brush-engine` | `cargo test -p hcie-brush-engine --test stamp` | `hcie-brush-engine/tests/stamp.rs` |
| `color_roundtrip` | `hcie-color` | `cargo test -p hcie-color --test color_roundtrip` | `hcie-color/tests/color_roundtrip.rs` |
| `ff_visibility` | `hcie-composite` | `cargo test -p hcie-composite --test ff_visibility` | `hcie-composite/tests/ff_visibility.rs` |
| `pass_through` | `hcie-composite` | `cargo test -p hcie-composite --test pass_through` | `hcie-composite/tests/pass_through.rs` |
| `visibility` | `hcie-composite` | `cargo test -p hcie-composite --test visibility` | `hcie-composite/tests/visibility.rs` |
| `draw_pixels` | `hcie-draw` | `cargo test -p hcie-draw --test draw_pixels` | `hcie-draw/tests/draw_pixels.rs` |
| `filters` | `hcie-filter` | `cargo test -p hcie-filter --test filters` | `hcie-filter/tests/filters.rs` |
| `app_state` | `hcie-gui-egui` | `cargo test -p hcie-gui-egui --test app_state` | `hcie-egui-app/crates/hcie-gui-egui/tests/app_state.rs` |
| `canvas_engine` | `hcie-gui-egui` | `cargo test -p hcie-gui-egui --test canvas_engine` | `hcie-egui-app/crates/hcie-gui-egui/tests/canvas_engine.rs` |
| `gui_audit` | `hcie-gui-egui` | `cargo test -p hcie-gui-egui --test gui_audit` | `hcie-egui-app/crates/hcie-gui-egui/tests/gui_audit.rs` |
| `widget_ui` | `hcie-gui-egui` | `cargo test -p hcie-gui-egui --test widget_ui` | `hcie-egui-app/crates/hcie-gui-egui/tests/widget_ui.rs` |
| `history_state` | `hcie-history` | `cargo test -p hcie-history --test history_state` | `hcie-history/tests/history_state.rs` |
| `helpers` | `hcie-protocol` | `cargo test -p hcie-protocol --test helpers` | `hcie-protocol/tests/helpers.rs` |
| `mask_ops` | `hcie-selection` | `cargo test -p hcie-selection --test mask_ops` | `hcie-selection/tests/mask_ops.rs` |
## Example listesi
| Example | Paket | Komut | Dosya |
|---|---|---|---|
| `blend_tester` | `hcie-blend` | `cargo run -p hcie-blend --example blend_tester` | `hcie-blend/examples/blend_tester.rs` |
| `brush_test` | `hcie-brush-engine` | `cargo run -p hcie-brush-engine --example brush_test` | `hcie-brush-engine/examples/brush_test.rs` |
| `draw_tester` | `hcie-draw` | `cargo run -p hcie-draw --example draw_tester` | `hcie-draw/examples/draw_tester.rs` |
| `filter_tester` | `hcie-filter` | `cargo run -p hcie-filter --example filter_tester` | `hcie-filter/examples/filter_tester.rs` |
| `compare_effects` | `hcie-io` | `cargo run -p hcie-io --example compare_effects` | `hcie-io/examples/compare_effects.rs` |
| `composite_test` | `hcie-io` | `cargo run -p hcie-io --example composite_test` | `hcie-io/examples/composite_test.rs` |
| `create_base_test` | `hcie-io` | `cargo run -p hcie-io --example create_base_test` | `hcie-io/examples/create_base_test.rs` |
| `debug_effects` | `hcie-io` | `cargo run -p hcie-io --example debug_effects` | `hcie-io/examples/debug_effects.rs` |
| `debug_emboss` | `hcie-io` | `cargo run -p hcie-io --example debug_emboss` | `hcie-io/examples/debug_emboss.rs` |
| `debug_emboss2` | `hcie-io` | `cargo run -p hcie-io --example debug_emboss2` | `hcie-io/examples/debug_emboss2.rs` |
| `debug_glow` | `hcie-io` | `cargo run -p hcie-io --example debug_glow` | `hcie-io/examples/debug_glow.rs` |
| `debug_lfx2` | `hcie-io` | `cargo run -p hcie-io --example debug_lfx2` | `hcie-io/examples/debug_lfx2.rs` |
| `debug_psd_channels` | `hcie-io` | `cargo run -p hcie-io --example debug_psd_channels` | `hcie-io/examples/debug_psd_channels.rs` |
| `debug_sultan` | `hcie-io` | `cargo run -p hcie-io --example debug_sultan` | `hcie-io/examples/debug_sultan.rs` |
| `diff_inspector` | `hcie-io` | `cargo run -p hcie-io --example diff_inspector` | `hcie-io/examples/diff_inspector.rs` |
| `dump_blend` | `hcie-io` | `cargo run -p hcie-io --example dump_blend` | `hcie-io/examples/dump_blend.rs` |
| `dump_effects` | `hcie-io` | `cargo run -p hcie-io --example dump_effects` | `hcie-io/examples/dump_effects.rs` |
| `dump_layers` | `hcie-io` | `cargo run -p hcie-io --example dump_layers` | `hcie-io/examples/dump_layers.rs` |
| `dump_lfx2` | `hcie-io` | `cargo run -p hcie-io --example dump_lfx2` | `hcie-io/examples/dump_lfx2.rs` |
| `dump_psd_layers` | `hcie-io` | `cargo run -p hcie-io --example dump_psd_layers` | `hcie-io/examples/dump_psd_layers.rs` |
| `generate_style_tests` | `hcie-io` | `cargo run -p hcie-io --example generate_style_tests` | `hcie-io/examples/generate_style_tests.rs` |
| `gui` | `hcie-io` | `cargo run -p hcie-io --example gui` | `hcie-io/examples/gui.rs` |
| `inspect_psd` | `hcie-io` | `cargo run -p hcie-io --example inspect_psd` | `hcie-io/examples/inspect_psd.rs` |
| `inspect_stroke_psd` | `hcie-io` | `cargo run -p hcie-io --example inspect_stroke_psd` | `hcie-io/examples/inspect_stroke_psd.rs` |
| `parse_sequential` | `hcie-io` | `cargo run -p hcie-io --example parse_sequential` | `hcie-io/examples/parse_sequential.rs` |
| `probe` | `hcie-io` | `cargo run -p hcie-io --example probe` | `hcie-io/examples/probe.rs` |
| `quick_check` | `hcie-io` | `cargo run -p hcie-io --example quick_check` | `hcie-io/examples/quick_check.rs` |
| `test1` | `hcie-io` | `cargo run -p hcie-io --example test1` | `hcie-io/examples/test1.rs` |
| `test_all` | `hcie-io` | `cargo run -p hcie-io --example test_all` | `hcie-io/examples/test_all.rs` |
| `test_singles` | `hcie-io` | `cargo run -p hcie-io --example test_singles` | `hcie-io/examples/test_singles.rs` |
| `test_styles` | `hcie-io` | `cargo run -p hcie-io --example test_styles` | `hcie-io/examples/test_styles.rs` |
| `test_styles_composite` | `hcie-io` | `cargo run -p hcie-io --example test_styles_composite` | `hcie-io/examples/test_styles_composite.rs` |
| `test_sultan` | `hcie-io` | `cargo run -p hcie-io --example test_sultan` | `hcie-io/examples/test_sultan.rs` |
| `text_test` | `hcie-io` | `cargo run -p hcie-io --example text_test` | `hcie-io/examples/text_test.rs` |
| `tune_mae original` | `hcie-io` | `cargo run -p hcie-io --example "tune_mae original"` | `hcie-io/examples/tune_mae original.rs` |
| `tune_mae_color_overlay` | `hcie-io` | `cargo run -p hcie-io --example tune_mae_color_overlay` | `hcie-io/examples/tune_mae_color_overlay.rs` |
| `tune_mae_emboss` | `hcie-io` | `cargo run -p hcie-io --example tune_mae_emboss` | `hcie-io/examples/tune_mae_emboss.rs` |
| `tune_mae_gradient_overlay` | `hcie-io` | `cargo run -p hcie-io --example tune_mae_gradient_overlay` | `hcie-io/examples/tune_mae_gradient_overlay.rs` |
| `tune_mae_inner_shadow` | `hcie-io` | `cargo run -p hcie-io --example tune_mae_inner_shadow` | `hcie-io/examples/tune_mae_inner_shadow.rs` |
| `tune_mae_outer_glow` | `hcie-io` | `cargo run -p hcie-io --example tune_mae_outer_glow` | `hcie-io/examples/tune_mae_outer_glow.rs` |
| `tune_mae_satin` | `hcie-io` | `cargo run -p hcie-io --example tune_mae_satin` | `hcie-io/examples/tune_mae_satin.rs` |
| `tune_mae_shadow` | `hcie-io` | `cargo run -p hcie-io --example tune_mae_shadow` | `hcie-io/examples/tune_mae_shadow.rs` |
| `tune_mae_stroke` | `hcie-io` | `cargo run -p hcie-io --example tune_mae_stroke` | `hcie-io/examples/tune_mae_stroke.rs` |
| `tune_sultan` | `hcie-io` | `cargo run -p hcie-io --example tune_sultan` | `hcie-io/examples/tune_sultan.rs` |
| `text_test` | `hcie-text` | `cargo run -p hcie-text --example text_test` | `hcie-text/examples/text_test.rs` |
| `vector_test` | `hcie-vector` | `cargo run -p hcie-vector --example vector_test` | `hcie-vector/examples/vector_test.rs` |
| `find_grfl` | `psd` | `cargo run -p psd --example find_grfl` | `hcie-psd/examples/find_grfl.rs` |
| `test_effects` | `psd` | `cargo run -p psd --example test_effects` | `hcie-psd/examples/test_effects.rs` |
| `text_test_simple` | `psd` | `cargo run -p psd --example text_test_simple` | `hcie-psd/examples/text_test_simple.rs` |
## Hedef özetleri
| Paket | Kütüphane hedefleri | Binary hedefleri | Integration testler | Example'lar |
|---|---|---|---|---|
| `egui-panel-adapter` | `egui_panel_adapter` | - | - | - |
| `egui-panel-ai-chat` | `egui_panel_ai_chat` | - | - | - |
| `egui-panel-ai-script` | `egui_panel_ai_script` | - | - | - |
| `egui-panel-filters` | `egui_panel_filters` | - | - | - |
| `egui-panel-script` | `egui_panel_script` | - | - | - |
| `hcie-ai` | `hcie_ai` | - | - | - |
| `hcie-blend` | `hcie_blend` | - | `blend_modes` | `blend_tester` |
| `hcie-brush-engine` | `hcie_brush_engine` | - | `stamp` | `brush_test` |
| `hcie-color` | `hcie_color` | - | `color_roundtrip` | - |
| `hcie-composite` | `hcie_composite` | - | `ff_visibility`, `pass_through`, `visibility` | - |
| `hcie-document` | `hcie_document` | - | - | - |
| `hcie-draw` | `hcie_draw` | - | `draw_pixels` | `draw_tester` |
| `hcie-engine-api` | `hcie_engine_api` | - | - | - |
| `hcie-filter` | `hcie_filter` | - | `filters` | `filter_tester` |
| `hcie-fx` | `hcie_fx` | - | - | - |
| `hcie-gui-egui` | `hcie_gui_egui` | `hcie-gui` | `app_state`, `canvas_engine`, `gui_audit`, `widget_ui` | - |
| `hcie-history` | `hcie_history` | - | `history_state` | - |
| `hcie-io` | `hcie_io` | - | - | `compare_effects`, `composite_test`, `create_base_test`, `debug_effects`, `debug_emboss`, `debug_emboss2`, `debug_glow`, `debug_lfx2`, `debug_psd_channels`, `debug_sultan`, `diff_inspector`, `dump_blend`, `dump_effects`, `dump_layers`, `dump_lfx2`, `dump_psd_layers`, `generate_style_tests`, `gui`, `inspect_psd`, `inspect_stroke_psd`, `parse_sequential`, `probe`, `quick_check`, `test1`, `test_all`, `test_singles`, `test_styles`, `test_styles_composite`, `test_sultan`, `text_test`, `tune_mae original`, `tune_mae_color_overlay`, `tune_mae_emboss`, `tune_mae_gradient_overlay`, `tune_mae_inner_shadow`, `tune_mae_outer_glow`, `tune_mae_satin`, `tune_mae_shadow`, `tune_mae_stroke`, `tune_sultan` |
| `hcie-kra` | `hcie_kra` | - | - | - |
| `hcie-native` | `hcie_native` | - | - | - |
| `hcie-pixel-bridge` | `hcie_pixel_bridge` | - | - | - |
| `hcie-protocol` | `hcie_protocol` | - | `helpers` | - |
| `hcie-selection` | `hcie_selection` | - | `mask_ops` | - |
| `hcie-text` | `hcie_text` | - | - | `text_test` |
| `hcie-tile` | `hcie_tile` | - | - | - |
| `hcie-vector` | `hcie_vector` | - | - | `vector_test` |
| `hcie-vision` | `hcie_vision` | - | - | - |
| `psd` | `psd` | - | - | `find_grfl`, `test_effects`, `text_test_simple` |
## Çalıştırılamayan / hedef içermeyen manifestler
| Dizin | Durum |
|---|---|
| `hcie-egui-app/Cargo.toml` | `package` manifesti var ama `src/lib.rs` hedefi yok. Çalıştırılabilir egui uygulaması `hcie-egui-app/crates/hcie-gui-egui/Cargo.toml` altındadır. |