Add a Cargo.toml configuration

Right now it doesn't support enabling v2, but once cargo supports profiles that should be possible