Re-export mlua_derive

This commit is contained in:
Alex Orlenko
2020-12-29 22:08:53 +00:00
parent afc41ab23c
commit bedd430eb5
5 changed files with 13 additions and 7 deletions
+9
View File
@@ -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::*;