Skip to content

Commit 9d2229f

Browse files
committed
Remove rustfmt and cargo-fmt
Moved them to the rustfmt-bin repo
1 parent f1281cb commit 9d2229f

File tree

9 files changed

+20
-1072
lines changed

9 files changed

+20
-1072
lines changed

Cargo.lock

Lines changed: 13 additions & 116 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
[workspace]
22
members = [
3-
"cargo-fmt",
43
"git-rustfmt",
5-
"rustfmt-bin",
64
"rustfmt-config",
75
"rustfmt-core",
86
"rustfmt-format-diff",
97
]
8+
9+
[patch.crates-io]
10+
rustfmt-config = { path = "rustfmt-config" }
11+
rustfmt-core = { path = "rustfmt-core" }

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,7 @@ script:
146146

147147
`cargo test` to run all tests.
148148

149-
To run rustfmt after this, use `cargo run --bin rustfmt -- filename`. See the
150-
notes above on running rustfmt.
151-
149+
To run Rustfmt, you'll need the binaries repo: https://github.com/rust-lang-nursery/rustfmt-bin
152150

153151
## Configuring Rustfmt
154152

cargo-fmt/Cargo.toml

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)