/hotlib

Experimental crate for hotloading rust libraries by pointing to their Cargo.toml.

Primary LanguageRust

hotlib Actions Status Crates.io Crates.io docs.rs

A library for watching, dynamically compiling, and hot-loading Rust libraries.

Try running:

cargo run --example demo

And while the demo is running, try editing the test_crate/src/lib.rs file. Each time you write your changes to disk, the demo should automatically detect the change, return the package, build the package and then load the corresponding dynamic library.