src/lib.rs in faster_path-0.1.5 vs src/lib.rs in faster_path-0.1.6
- old
+ new
@@ -4,25 +4,20 @@
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
// http://opensource.org/licenses/MIT>, at your option. This file may not be
// copied, modified, or distributed except according to those terms.
extern crate libc;
-use std::path::{Path,MAIN_SEPARATOR};
-use libc::c_char;
-use std::ffi::{CStr,CString};
-use std::str;
-use std::mem;
-
-include!("ruby_string.rs");
-include!("ruby_array.rs");
-include!("is_absolute.rs");
-include!("is_relative.rs");
-include!("is_blank.rs");
-include!("both_are_blank.rs");
-include!("basename.rs");
-include!("dirname.rs");
-include!("basename_for_chop.rs");
-include!("dirname_for_chop.rs");
+pub mod ruby_string;
+pub mod ruby_array;
+pub mod is_absolute;
+pub mod is_directory;
+pub mod is_relative;
+pub mod is_blank;
+pub mod both_are_blank;
+pub mod basename;
+pub mod dirname;
+pub mod basename_for_chop;
+pub mod dirname_for_chop;
// EXAMPLE
//
//#[no_mangle]
//pub extern fn one_and_two() -> RubyArray {