MoonZoon
rust-embed
Our great sponsors
MoonZoon | rust-embed | |
---|---|---|
16 | 9 | |
1,725 | 1,505 | |
3.0% | - | |
9.2 | 7.3 | |
22 days ago | 14 days ago | |
Rust | Rust | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
MoonZoon
-
A Proposal for an asynchronous Rust GUI framework
They are both async and made for GUI -- in case of rust-signals WebGUI, provided by dominator and MoonZoon.
-
Planning to make a video on cool Rust apps focused on the end user. Make recommendations!
Fullstack Framework: MoonZoon, Leptos
- Rust front-end framework
-
Pick a Front End Web Framework
Dominator is more of a low-level framework for manipulating the DOM. There's also MoonZoon (https://github.com/MoonZoon/MoonZoon) which uses dominator but provides a more complete experience.
-
Dioxus vs Egui vs Iced vs Tauri+Yew?
Alternative 2)thin client in browser and server in rust. If you really want to limit it to web client and web server, possibly try a newer approach with moonzoon. https://github.com/MoonZoon/MoonZoon/tree/main/examples/todomvc
-
They interviewed the founder of a full-stack Rust framework called "MoonZoon" in this newsletter. Has anyone here used MoonZoon before?
I don't really know Rust so clearly I'm not the target audience, but this thing where you define all the styles using chains of methods seems kinda clumsy to me. And if it's all turning into CSS in the end you presumably still need to understand CSS concepts in order to make the layout you want using this syntax. So I'm not sure this is really saving you from learning HTML and CSS. That said it does appear to be compiling your Rust to web assembly (like Blazor does) which is pretty cool.
- 18 factors powering the Rust revolution, Part 2 of 3
-
Serving a frontend with a Rust Web framework
I've come across MoonZoon (https://github.com/MoonZoon/MoonZoon) which seems like an interesting full stack framework, but I'm wondering about a solution that would allow choosing both frontend and backend frameworks.
-
Front-end Rust framework performance prognosis
There’s also https://github.com/MoonZoon/MoonZoon which is built on dominator. It’s in fairly early stage development but offers a higher level interface than dominator.
- GitHub - seed-rs/seed: A Rust framework for creating web apps
rust-embed
-
Learn WGPU updated to 0.15!
Ref: https://github.com/pyrossh/rust-embed/issues/205 Rust-embed behavior in debug mode is incompatible with cross-compilation. It nails a path from build time into the executable. Force release mode o"
- How to include Rocket.rs template files and static files in built binary
-
Install package with third party files (ex. sql) - best practice
Not sure how common it is exactly but I've definitely seen it done here and there and done it myself in some projects. Having self-contained binaries is super nice and avoids a fair few issues. rust-embed makes it even better.
-
Serving a frontend with a Rust Web framework
They even accepted one of my feature requests to add some file metadata which makes doing this kind of thing easier: https://github.com/pyros2097/rust-embed/issues/140
-
Rust and Sqlite
Note: include_str! can make compilation a bit slow. The rust-embed crate can read files in debug mode as normal and embed the files in release mode.
-
Hey Rustaceans! Got an easy question? Ask here (6/2022)!
For reference, there are examples for several frameworks in the rust-embed repo.
-
Getting started with MongoDB and Redis in Rust
But then it turned out that the images can’t be read from the database due to the lack of GridFS support in MongoDB Rust Driver (open ticket). So for simplicity purposes, I decided to use rust_embed crate which allows including images in the application binary at compile time (at the development time they are loaded from a file system). (It is also possible to store images separately from the application; images folder should be mounted as a volume in the Docker Compose service definition)
-
Introduction to gRPC in Rust
Images of planets are included in the application binary at compile time using rust_embed crate (at the development time they are loaded from a file system).
-
What is the idiomatic way of embed files into Rust binary?
Maybe rust-embed can help you? I haven't used it myself, just came across the crate on this sub a while ago.
What are some alternatives?
perseus - A state-driven web development framework for Rust with full support for server-side rendering and static generation.
redis-rs - Redis library for rust
yew - Rust / Wasm framework for creating reliable and efficient web applications
teloxide - 🤖 An elegant Telegram bots framework for Rust
sycamore - A library for creating reactive web apps in Rust and WebAssembly
sailfish - Simple, small, and extremely fast template engine for Rust
rust-dominator - Zero-cost ultra-high-performance declarative DOM library using FRP signals for Rust!
yew-sse-example - An example of use of yew-sse
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
bloomrpc - Former GUI client for gRPC services. No longer maintained.
Seed - A Rust framework for creating web apps
mongo-rust-driver - The official MongoDB Rust Driver