Crate decurse

Source
Expand description

See the README for an overview of this crate and how to use.

The only things here are the two macros. To use, put them above your recursive function.

#[decurse::decurse]
fn some_function(...) -> ...
#[decurse::decurse_unsound]
fn some_function(...) -> ...

Also make sure to read the Limitations section in the README.

Modules§

for_macro_only
Private for use by the macro only.

Macros§

for_macro_only_recurse_sound
for_macro_only_recurse_unsound

Attribute Macros§

decurse
Macro to make recursive functions run on the heap.
decurse_unsound
Macro to make recursive functions run on the heap.