46 breaking releases
0.142.0 | Sep 28, 2023 |
---|---|
0.140.0 | Sep 28, 2023 |
0.103.0 | Jul 31, 2023 |
0.95.0 | Mar 12, 2023 |
0.43.0 | Feb 21, 2022 |
#1759 in Procedural macros
Used in 3 crates
(via flowstdlib)
275KB
6K
SLoC
flowmacro
flow_function
is a proc macro to be used on the structure that provides an implementation for a function (by
implementing the FlowImpl
trait), so that when compiled for the wasm32
target, code is inserted to help read
the inputs, help form the outputs and allocate memory (alloc
) as well as serialize and deserialize the data
passed across the native/wasm boundary.
Features
flowmacro
has no features
lib.rs
:
flow_function
is a proc_macro_attribute
macro that wraps a fn
with a struct and a method
to implement the Implementation trait, so it can be used as the
implementation of a flow function.
Dependencies
~6–17MB
~243K SLoC