# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies # # If you believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "rustfmt-nightly" version = "1.4.20" authors = ["Nicholas Cameron ", "The Rustfmt developers"] build = "build.rs" description = "Tool to find and fix Rust formatting issues" readme = "README.md" categories = ["development-tools"] license = "Apache-2.0/MIT" repository = "https://github.com/rust-lang/rustfmt" [[bin]] name = "rustfmt" path = "src/bin/main.rs" [[bin]] name = "cargo-fmt" path = "src/cargo-fmt/main.rs" [[bin]] name = "rustfmt-format-diff" path = "src/format-diff/main.rs" [[bin]] name = "git-rustfmt" path = "src/git-rustfmt/main.rs" [dependencies.annotate-snippets] version = "0.6" features = ["ansi_term"] [dependencies.anyhow] version = "1.0" [dependencies.bytecount] version = "0.6" [dependencies.cargo_metadata] version = "0.8" [dependencies.derive-new] version = "0.5" [dependencies.diff] version = "0.1" [dependencies.dirs] version = "2.0.1" [dependencies.env_logger] version = "0.6" [dependencies.getopts] version = "0.2" [dependencies.ignore] version = "0.4.11" [dependencies.itertools] version = "0.8" [dependencies.lazy_static] version = "1.0.0" [dependencies.log] version = "0.4" [dependencies.regex] version = "1.0" [dependencies.rustc-workspace-hack] version = "1.0.0" [dependencies.rustc_ast] version = "671.0.0" package = "rustc-ap-rustc_ast" [dependencies.rustc_ast_pretty] version = "671.0.0" package = "rustc-ap-rustc_ast_pretty" [dependencies.rustc_attr] version = "671.0.0" package = "rustc-ap-rustc_attr" [dependencies.rustc_data_structures] version = "671.0.0" package = "rustc-ap-rustc_data_structures" [dependencies.rustc_errors] version = "671.0.0" package = "rustc-ap-rustc_errors" [dependencies.rustc_expand] version = "671.0.0" package = "rustc-ap-rustc_expand" [dependencies.rustc_parse] version = "671.0.0" package = "rustc-ap-rustc_parse" [dependencies.rustc_session] version = "671.0.0" package = "rustc-ap-rustc_session" [dependencies.rustc_span] version = "671.0.0" package = "rustc-ap-rustc_span" [dependencies.rustfmt-config_proc_macro] version = "0.2" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.structopt] version = "0.3" [dependencies.term] version = "0.6" [dependencies.thiserror] version = "1.0" [dependencies.toml] version = "0.5" [dependencies.unicode-segmentation] version = "1.0.0" [dependencies.unicode-width] version = "0.1.5" [dependencies.unicode_categories] version = "0.1.1" [features] cargo-fmt = [] default = ["cargo-fmt", "rustfmt-format-diff"] generic-simd = ["bytecount/generic-simd"] rustfmt-format-diff = []