]> git.lizzy.rs Git - rust.git/blobdiff - Cargo.toml
Change defaults to RFC style
[rust.git] / Cargo.toml
index 591e60ef2390503ea55ffc33bfe95e7b2aaf80cd..a79c974b31ddf4a38eaad49bd144452b9798f15e 100644 (file)
@@ -1,27 +1,42 @@
 [package]
 
 name = "rustfmt"
-version = "0.3.0"
-authors = ["Nicholas Cameron <ncameron@mozilla.com>", "Marcus Klaas <mail@marcusklaas.nl>", "The Rustfmt contributors"]
+version = "0.9"
+authors = ["Nicholas Cameron <ncameron@mozilla.com>", "The Rustfmt developers"]
 description = "Tool to find and fix Rust formatting issues"
 repository = "https://github.com/rust-lang-nursery/rustfmt"
 readme = "README.md"
 license = "Apache-2.0/MIT"
-include = ["src/*.rs", "Cargo.toml"]
+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 = "0.0.1"
-diff = "0.1.8"
-syntex_syntax = "0.30"
-log = "0.3.2"
-env_logger = "0.3.1"
+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.1"
+diff = "0.1"
+syntex_syntax = "0.59"
+syntex_errors = "0.59"
+log = "0.3"
+env_logger = "0.4"
 getopts = "0.2"
+
+[target.'cfg(unix)'.dependencies]
+libc = "0.2.11"
+
+[target.'cfg(windows)'.dependencies]
+kernel32-sys = "0.2.2"
+winapi = "0.2.7"