Updated crate to build with current rustc
Changed name to dash-less "apply_pub" be more usage-friendly to import,
and to be consistent with the "lazy_static" crate