Add slicing_syntax feature attribute to lib.rs.