Crate dynpatch_macro

Crate dynpatch_macro 

Source
Expand description

§dynpatch-macro

Procedural macros for the dynpatch hot-patching system.

Provides:

  • #[patch_trait] - Mark traits as patchable interfaces
  • #[patchable] - Mark functions/methods for hot-swapping
  • #[patch_impl] - Mark patch implementations
  • #[patch_entry] - Mark patch entry points

Attribute Macros§

patch_entry
Mark patch entry point with initialization
patch_impl
Mark a struct as a patch implementation
patch_trait
Mark a trait as a patchable interface
patchable
Mark a function as patchable

Derive Macros§

HotConfig
Derive macro for hot-reloadable configuration