Fix cargo warning about [[lib]]
Fix obselete syntax