summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs33
1 files changed, 15 insertions, 18 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 97803d0..a39e864 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -40,15 +40,12 @@
// warnings at all.
#![doc(test(attr(deny(warnings))))]
-extern crate failure;
-extern crate libc;
-extern crate num_traits;
-
-mod error;
-mod ffi;
#[macro_use]
mod macros;
+
mod conversion;
+mod error;
+mod ffi;
mod function;
mod lua;
mod multi;
@@ -61,18 +58,18 @@ mod userdata;
mod util;
mod value;
-pub use error::{Error, ExternalError, ExternalResult, Result};
-pub use function::Function;
-pub use lua::Lua;
-pub use multi::Variadic;
-pub use scope::Scope;
-pub use string::String;
-pub use table::{Table, TablePairs, TableSequence};
-pub use thread::{Thread, ThreadStatus};
-pub use types::{Integer, LightUserData, Number, RegistryKey};
-pub use userdata::{AnyUserData, MetaMethod, UserData, UserDataMethods};
-pub use value::{FromLua, FromLuaMulti, MultiValue, Nil, ToLua, ToLuaMulti, Value};
+pub use crate::ffi::lua_State;
-pub use ffi::lua_State;
+pub use crate::error::{Error, ExternalError, ExternalResult, Result};
+pub use crate::function::Function;
+pub use crate::lua::{Lua, Chunk};
+pub use crate::multi::Variadic;
+pub use crate::scope::Scope;
+pub use crate::string::String;
+pub use crate::table::{Table, TablePairs, TableSequence};
+pub use crate::thread::{Thread, ThreadStatus};
+pub use crate::types::{Integer, LightUserData, Number, RegistryKey};
+pub use crate::userdata::{AnyUserData, MetaMethod, UserData, UserDataMethods};
+pub use crate::value::{FromLua, FromLuaMulti, MultiValue, Nil, ToLua, ToLuaMulti, Value};
pub mod prelude;