Update to rust 0.12-pre, add cargo support