I’d like to put a function into a crate module and have the zome_fn decorate the reference to the function.
#[zome_fn("hc_public")]
pub use crate::collective::create_collective;
When I attempt this, I get a compile error:
error: cannot find attribute `zome_fn` in this scope
--> src/lib.rs:175:4
|
175 | #[zome_fn("hc_public")]
| ^^^^^^^
It is possible to refer a zome_fn to a function in another module?