]> git.lizzy.rs Git - rust.git/blobdiff - Cargo.toml
Refactor file range checking
[rust.git] / Cargo.toml
index e8b81eb84825012de42472da7e5f59b1ec51d1d0..568227869b8c66991722454b81f5ff97a588044e 100644 (file)
@@ -1,20 +1,47 @@
 [package]
 
 name = "rustfmt"
-version = "0.0.1"
-authors = ["Nicholas Cameron <nrc@ncameron.org>"]
+version = "0.8.3"
+authors = ["Nicholas Cameron <ncameron@mozilla.com>", "The Rustfmt developers"]
 description = "Tool to find and fix Rust formatting issues"
-repository = "https://github.com/nick29581/rustfmt"
+repository = "https://github.com/rust-lang-nursery/rustfmt"
 readme = "README.md"
 license = "Apache-2.0/MIT"
+include = ["src/*.rs", "Cargo.toml", "build.rs", "LICENSE-*"]
+build = "build.rs"
+categories = ["development-tools"]
+
+[lib]
+doctest = false
+
+[features]
+default = ["cargo-fmt"]
+cargo-fmt = []
 
 [dependencies]
-toml = "0.1.20"
-rustc-serialize = "0.3.14"
-unicode-segmentation = "0.1.2"
-regex = "0.1.41"
-term = "0.2.11"
-strings = { version = "0.0.1", git = "https://github.com/nrc/strings.rs.git" }
-diff = { git = "https://github.com/utkarshkukreti/diff.rs.git" }
+toml = "0.4"
+serde = "1.0"
+serde_derive = "1.0"
+serde_json = "1.0"
+unicode-segmentation = "1.0.0"
+regex = "0.2"
+term = "0.4"
+strings = "0.0.1"
+diff = "0.1"
+syntex_syntax = "0.58"
+syntex_errors = "0.58"
+log = "0.3"
+env_logger = "0.4"
+getopts = "0.2"
+itertools = "0.5.8"
+multimap = "0.3"
+
+[build-dependencies]
+walkdir = "1.0.3"
+
+[target.'cfg(unix)'.dependencies]
+libc = "0.2.11"
 
-[dev-dependencies]
+[target.'cfg(windows)'.dependencies]
+kernel32-sys = "0.2.2"
+winapi = "0.2.7"