3 مستودعات
Tools and libraries for building web user interfaces using the Rust programming language.
Distinguishing note: No candidate covers the general domain of using Rust for frontend UI development.
Explore 3 awesome GitHub repositories matching web development · Rust Frontend Frameworks. Refine with filters or upvote what's useful.
wasm-bindgen هو مولد روابط وطبقة تشغيل بيني مصممة لتعيين أنواع البيانات والوظائف عبر الحدود بين WebAssembly وJavaScript. يعمل كواجهة وظائف أجنبية (foreign function interface) تقوم بتوليد الكود المتكرر الضروري لتمكين التواصل ثنائي الاتجاه بين Rust وبيئة تشغيل المتصفح. يولد المشروع كود الغراء والمغلفات التي تؤتمت تحويل الأنواع المعقدة، مما يسمح بتصدير وظائف Rust كوحدات JavaScript واستيراد واجهات برمجة تطبيقات المتصفح إلى Rust. يستخدم وحدات الماكرو الإجرائية لتعريف هذه الواجهات ويولد الروابط بناءً على تعريفات أنواع Rust. يدير النظام الذاكرة من خلال تمرير مؤشر الذاكرة الخطية ويتعامل مع تبادل الموارد باستخدام مقابض الذاكرة التي تديرها JavaScript. يعتمد على اتفاقية استدعاء متوافقة مع C ABI لتمرير الأعداد الصحيحة والأرقام العشرية البدائية بين الوحدة والمضيف.
Facilitates building web-based user interfaces and application logic using Rust.
Trunk هو أداة بناء وخادم تطوير لتجميع كود Rust إلى WebAssembly وتعبئته للنشر في المتصفح. يعمل كمجمع ويب (web bundler) يدمج وحدات WebAssembly، وJavaScript، والملفات الثابتة في تطبيق ويب قابل للنشر. توفر الأداة خادم تطوير محلي يستخدم وكلاء HTTP و WebSocket لتمكين التكرار السريع. تتضمن هذه البيئة مراقباً لنظام الملفات يقوم بتشغيل عمليات إعادة البناء التلقائية وإعادة تحميل المتصفح عند تعديل ملفات المصدر. يتعامل خط الأنابيب مع تحويل كود مصدر Rust إلى ملفات WebAssembly الثنائية ويولد كود غراء (glue code) JavaScript الضروري لإنشاء الوحدات. كما يقوم بتجميع الأصول عن طريق استخراج التبعيات والملفات الثابتة بناءً على المراجع الموجودة في ملف HTML المصدر.
Prepares and packages Rust-based web applications for hosting on production web servers.
Trunk is a WebAssembly build tool and orchestrator designed to automate the process of transforming Rust source code into deployable web applications. It serves as a frontend bundler that packages WebAssembly binaries along with HTML and static assets for browser deployment. The system utilizes an HTML-driven build orchestration model, using the index HTML file as the primary configuration source to determine entry points and dependencies. It integrates with the Rust compiler and associated toolchains to transform code into optimized binaries and glue code. The tool provides a development en
Enables the creation of interactive web user interfaces using Rust for improved performance and type safety.