hot-reload-rs
live-reloading-rs
hot-reload-rs | live-reloading-rs | |
---|---|---|
1 | 2 | |
0 | 89 | |
- | - | |
2.6 | 0.0 | |
over 3 years ago | over 3 years ago | |
Rust | Rust | |
- | - |
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.
hot-reload-rs
-
Paradox of the Perfect Code Editor
Yes https://fasterthanli.me/articles/so-you-want-to-live-reload-... (discussed here https://www.reddit.com/r/rust/comments/j0ajdy/so_you_want_to...)
And then there's this crate https://docs.rs/live-reload/0.2.0/live_reload/ which works on the same principles as the article above, and is based on C code (i.e. the same approach works for C).
There's a bunch of other libraries that work the same way, and some example code that can do this. I can find https://github.com/irh/rust-hot-reloading and https://github.com/porglezomp-misc/live-reloading-rs and https://github.com/xixixao/hot-reload-rs
And then there's https://github.com/emoon/dynamic_reload which is perhaps better?
And there's https://github.com/draivin/rust-hotswap which has a nice API but uses a deprecated rustc internal API doesn't build anymore.
Anyway there was a library that did this in a more elegant way and I just can't find it (perhaps it was rust-hotswap anyway).
live-reloading-rs
-
Paradox of the Perfect Code Editor
Yes https://fasterthanli.me/articles/so-you-want-to-live-reload-... (discussed here https://www.reddit.com/r/rust/comments/j0ajdy/so_you_want_to...)
And then there's this crate https://docs.rs/live-reload/0.2.0/live_reload/ which works on the same principles as the article above, and is based on C code (i.e. the same approach works for C).
There's a bunch of other libraries that work the same way, and some example code that can do this. I can find https://github.com/irh/rust-hot-reloading and https://github.com/porglezomp-misc/live-reloading-rs and https://github.com/xixixao/hot-reload-rs
And then there's https://github.com/emoon/dynamic_reload which is perhaps better?
And there's https://github.com/draivin/rust-hotswap which has a nice API but uses a deprecated rustc internal API doesn't build anymore.
Anyway there was a library that did this in a more elegant way and I just can't find it (perhaps it was rust-hotswap anyway).
-
Splitting build destination for exact files in Rust project
I have pretty weird question. I am trying to use crate live reload. To understand how it works I cloned demo project, but I have problems understanding how it works. From what I understand lib.rs file should be built to libreloadable.dylib but it doesn't in fact I don't even know if it's possible to build part of project to dynamic library and other files(main.rs etc.) to executable. Cloned demo project doesn't work for me it panicks on loading the library. I feel pretty lost. Can you please tell me how it works and how project should be structured to support such thing?
What are some alternatives?
rust-hot-reloading - A minimal example of hot-reloading of libraries in Rust
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
rust-hotswap - Easily hotswap functions in running executables
bat - A cat(1) clone with wings.
ihp - 🔥 The fastest way to build type safe web apps. IHP is a new batteries-included web framework optimized for longterm productivity and programmer happiness
alacritty - A cross-platform, OpenGL terminal emulator.
dynamic_reload - Dynamic reloading of shared libraries