# cargo new > 创建一个新的 Cargo 包。 > 相当于 `cargo init`,但需要指定目录。 > 更多信息:。 - 创建一个新的 Rust 项目,带有二进制目标: `cargo new {{path/to/directory}}`