Update lib.rs for new rust version