Add quick start info to README.md, cargo update.
This commit is contained in:
parent
b37e78974c
commit
909b3560ba
3 changed files with 17 additions and 4 deletions
6
Cargo.lock
generated
6
Cargo.lock
generated
|
|
@ -1,6 +1,6 @@
|
|||
[root]
|
||||
name = "rustfmt"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
dependencies = [
|
||||
"diff 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"env_logger 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
|
@ -11,7 +11,7 @@ dependencies = [
|
|||
"strings 0.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"syntex_syntax 0.23.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"term 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"toml 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"toml 0.1.24 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"unicode-segmentation 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
|
|
@ -129,7 +129,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "toml"
|
||||
version = "0.1.23"
|
||||
version = "0.1.24"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
|
||||
name = "rustfmt"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
authors = ["Nicholas Cameron <ncameron@mozilla.com>", "Marcus Klaas <mail@marcusklaas.nl>", "The Rustfmt contributors"]
|
||||
description = "Tool to find and fix Rust formatting issues"
|
||||
repository = "https://github.com/rust-lang-nursery/rustfmt"
|
||||
|
|
|
|||
13
README.md
13
README.md
|
|
@ -5,6 +5,19 @@ A tool for formatting Rust code according to style guidelines.
|
|||
If you'd like to help out (and you should, it's a fun project!), see
|
||||
[Contributing.md](Contributing.md).
|
||||
|
||||
## Quick start
|
||||
|
||||
To install:
|
||||
|
||||
```
|
||||
cargo install --git https://github.com/rust-lang-nursery/rustfmt
|
||||
```
|
||||
|
||||
to run on a cargo project in the current working directory:
|
||||
|
||||
```
|
||||
cargo fmt
|
||||
```
|
||||
|
||||
## Installation
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue