hotload
[
Quick example
use ;
use Hotload;
Features
Main features
- Zero cost hot update dynamic library; supporting DLL, SO
Comparison with other libraries
| Feature | dlopen2 | hotload | hot-lib-reloader |
|---|---|---|---|
| Basic functionality | Yes | Yes | Yes |
| Multiplatform | Yes | Yes | Yes |
| Dangling symbol prevention | Yes | Yes | Yes |
| Thread safety | Yes | Yes | Yes |
| Loading of symbols into structures | Yes | Yes | Yes |
| Overhead | Minimal | Minimal | Minimal |
| Low-level, unsafe API | Yes | Yes | Yes |
| Object-oriented friendly | Yes | Yes | Yes |
| Load from the program itself | Yes | Yes | Yes |
| Obtaining address information (dladdr) | Yes | Yes | Yes |
| Auto reload | No | Yes | Yes |
| Is haved load new dll event | No | Yes | No |
| Zero cost, Is not lock | No | Yes | No |
Usage
Cargo.toml:
[]
= "0.6"
= "0.9"
Documentation
License
This code is licensed under the MIT license.
Changelog
Acknowledgement
Special thanks to dlopen2 and hot-lib-reloader