diff options
author | Alex Orlenko <zxteam@protonmail.com> | 2020-12-29 22:08:53 +0000 |
---|---|---|
committer | Alex Orlenko <zxteam@protonmail.com> | 2020-12-29 22:26:15 +0000 |
commit | bedd430eb58a998f44fba213b71c8a597efb714a (patch) | |
tree | 1a03d260b198a2651072d9fcb52928f48f54b548 /src/lib.rs | |
parent | afc41ab23c2fa6ef340ca90da4065df89f3949e6 (diff) | |
download | mlua-bedd430eb58a998f44fba213b71c8a597efb714a.zip |
Re-export mlua_derive
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -115,3 +115,12 @@ pub use crate::serde::LuaSerdeExt; pub mod prelude; #[cfg(feature = "serialize")] pub mod serde; + +// Re-export #[mlua_derive::lua_module]. +#[cfg(feature = "mlua_derive")] +#[allow(unused_imports)] +#[macro_use] +extern crate mlua_derive; +#[cfg(feature = "mlua_derive")] +#[doc(hidden)] +pub use mlua_derive::*; |