diff --git a/rustfmt-format-diff/Cargo.toml b/rustfmt-format-diff/Cargo.toml new file mode 100644 index 000000000000..a74c08616bd0 --- /dev/null +++ b/rustfmt-format-diff/Cargo.toml @@ -0,0 +1,21 @@ +[package] +name = "rustfmt-format-diff" +version = "0.4.0" +authors = ["Nicholas Cameron ", "The Rustfmt developers"] +description = "Run rustfmt against diff" +repository = "https://github.com/rust-lang-nursery/rustfmt" +readme = "README.md" +license = "Apache-2.0/MIT" +categories = ["development-tools"] + +[[bin]] +name = "rustfmt-format-diff" + +[dependencies] +env_logger = "0.4" +getopts = "0.2" +log = "0.3" +regex = "0.2" +serde = "1.0" +serde_derive = "1.0" +serde_json = "1.0" \ No newline at end of file diff --git a/src/bin/rustfmt-format-diff.rs b/rustfmt-format-diff/src/main.rs similarity index 100% rename from src/bin/rustfmt-format-diff.rs rename to rustfmt-format-diff/src/main.rs diff --git a/src/bin/test/bindgen.diff b/rustfmt-format-diff/src/test/bindgen.diff similarity index 100% rename from src/bin/test/bindgen.diff rename to rustfmt-format-diff/src/test/bindgen.diff