Skip to content

pantoken-root / rust

rust ​

Compatibility ​

Target: Rust GUI frameworks. Current format: Generated egui Color32 accessors and iced_core Color constants compile with the Rust toolchain. Minimum host version: 1.95.0. Tested through 1.95.0. Newer releases require review.

Full compatibility matrix

Експериментальний

@pantoken/rust — виводить Instructure design tokens як константи Rust для двох мейнстрімних нативних Rust GUI: egui (Color32) та iced (Color). Кольори стають типом кольору фреймворку; розміри стають f32 (px). Rust UI, що рендеряться у вебі (Tauri, Dioxus-web, Leptos, Yew), повинні натомість використовувати @pantoken/css.

Інтерфейси ​

Псевдоніми типів ​

Функції ​

Посилання ​

default ​

Перейменовує та реекспортує generateRust