src/lib.rs in faster_path-0.1.2 vs src/lib.rs in faster_path-0.1.3
- old
+ new
@@ -3,29 +3,23 @@
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// 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;
-//extern crate regex;
use std::path::{Path,MAIN_SEPARATOR};
use libc::c_char;
use std::ffi::{CStr,CString,OsStr};
use std::str;
use std::mem;
-// Not including regex in current build so chomp_pathish_regex
-// and basename will be excluded in build
-//include!("tools/chomp_pathish_regex.rs");
-//include!("basename.rs");
-
-
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");
// EXAMPLE