Crate hotlib

Source
Expand description

For watching and loading a Rust library in Rust.

You are likely looking for the watch function docs.

Modules§

libloading
A memory-safer wrapper around system dynamic library loading primitives.

Structs§

Build
The result of building a package’s dynamic library.
ExitStatusUnsuccessfulError
A process’ output indicates unsuccessful completion.
Library
A loaded dynamic library.
Package
The information required to build the package’s dylib target.
Symbol
Symbol from a library.
TempLibrary
A wrapper around a libloading::Library that cleans up the library on Drop.
Watch
Watches and re-builds the library upon changes to its source code.

Enums§

BuildError
Errors that might occur while building a library instance.
LoadError
Errors that might occur while loading a built library.
NextError
Errors that might occur while waiting for the next library instance.
WatchError
Errors that might occur within the watch function.

Functions§

watch
Watch the library at the given Path.