update for rust master change extern crate instead of mod.