5361f61110
This will help in debugging issues as rustfmt gets more users. If the working tree is clean, output looks like $ target/debug/rustfmt -V 0.5.0 (9f5ed3b) If the working tree is dirty, output looks like $ target/debug/rustfmt -V 0.5.0 (9f5ed3b worktree dirty) If git is unavailable, output looks like $ target/debug/rustfmt -V 0.5.0 (git commit unavailable) To avoid rebuilds on changing tests, the build script will only rerun if files under src/ are changed. This means the actual git status may show changed files and this would not show up in the version. This should not be an issue as files not in src/ should not affect the build output.
41 lines
858 B
TOML
41 lines
858 B
TOML
[package]
|
|
|
|
name = "rustfmt"
|
|
version = "0.5.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"
|
|
readme = "README.md"
|
|
license = "Apache-2.0/MIT"
|
|
include = ["src/*.rs", "Cargo.toml"]
|
|
build = "build.rs"
|
|
|
|
[features]
|
|
default = ["cargo-fmt"]
|
|
cargo-fmt = []
|
|
|
|
[dependencies]
|
|
toml = "0.1"
|
|
rustc-serialize = "0.3"
|
|
unicode-segmentation = "0.1"
|
|
regex = "0.1"
|
|
term = "0.4"
|
|
strings = "0.0.1"
|
|
diff = "0.1"
|
|
syntex_syntax = "0.33"
|
|
log = "0.3"
|
|
env_logger = "0.3"
|
|
getopts = "0.2"
|
|
itertools = "0.4.15"
|
|
multimap = "0.3"
|
|
|
|
[build-dependencies]
|
|
walkdir = "0.1.5"
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2.11"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
kernel32-sys = "0.2.2"
|
|
winapi = "0.2.7"
|