منصوبے کے بارے میں
Cranpose Rust کے لیے ایک declarative UI فریم ورک ہے، جو Jetpack Compose پر ماڈل کیا گیا ہے: `#[composable]` فنکشنز، fine-grained recomposition کے ساتھ slot-table runtime، snapshot state، اور modifier-chain layout سسٹم۔ ایک ہی Rust codebase ڈیسک ٹاپ (Linux، macOS، Windows)، Android (بشمول Wear OS)، iOS، اور WebAssembly کے ذریعے ویب کو ٹارگٹ کرتا ہے، اور ان سب پر wgpu کے ذریعے رینڈرنگ کرتا ہے۔
اہم خصوصیات میں شامل ہیں:
- مؤثر recomposition کے لیے slot-table runtime کے ساتھ composable فنکشنز
- Snapshot state management اور modifier-chain layout
- کراس پلیٹ فارم سپورٹ: Linux (Vulkan)، macOS (Metal)، Windows (DX12/Vulkan)، Android/Wear OS (Vulkan/GLES)، iOS (UIKit/CAMetalLayer)، اور Web (WebGL2/WebGPU)
- glass materials، animation، gestures، lazy lists، اور services (HTTP، clipboard، notifications، purchases، camera، theme) کے ساتھ ایک component library
- typed back stack کے ساتھ navigation، coroutines، audio، media playback، اور in-app purchases
- ایک testing harness جو ٹیسٹوں میں حقیقی ونڈوز چلاتا ہے
- tuned profiles اور feature selection کے ساتھ چھوٹے binary sizes
- live editing، component previews، اور layout inspection کے لیے ایک IntelliJ plugin
Cranpose crates.io پر دستیاب ہے اور اس میں ایک ready-to-run project template (Showcase Cranpose) شامل ہے جس میں desktop، Android، iOS، اور web shells ہیں۔ یہ فریم ورک Apache License 2.0 کے تحت لائسنس یافتہ ہے۔
Comments
0 people shared their preference · Deer Point appears after 10 participants
Sign in to join the discussion.