macro_rules! include_oxidized {
($package: tt) => { ... };
}Expand description
Include oxidized Move package.
You must specify the Move package name supplied to moverox_build::move_package.
โ
mod package {
moverox::include_oxidized!("package");
}ยงNote:
This only works if the moverox_build output directory has been unmodified.
The default output directory is set to the OUT_DIR environment variable.
If the output directory has been modified, the following pattern may be used
instead of this macro.
โ
mod package {
include!("/relative/move/directory/package.rs");
}You can also use a custom environment variable using the following pattern.
โ
mod package {
include!(concat!(env!("MOVEROX"), "/package.rs"));
}