Use encoding lib from crates.io rather than github