fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1[package] 2 3name = "rustfmt-nightly" 4version = "1.6.0" 5description = "Tool to find and fix Rust formatting issues" 6repository = "https://github.com/rust-lang/rustfmt" 7readme = "README.md" 8license = "Apache-2.0/MIT" 9build = "build.rs" 10categories = ["development-tools"] 11edition = "2021" 12 13[[bin]] 14name = "rustfmt" 15path = "src/bin/main.rs" 16 17[[bin]] 18name = "cargo-fmt" 19path = "src/cargo-fmt/main.rs" 20 21[[bin]] 22name = "rustfmt-format-diff" 23path = "src/format-diff/main.rs" 24 25[[bin]] 26name = "git-rustfmt" 27path = "src/git-rustfmt/main.rs" 28 29[features] 30default = ["cargo-fmt", "rustfmt-format-diff"] 31cargo-fmt = [] 32rustfmt-format-diff = [] 33generic-simd = ["bytecount/generic-simd"] 34 35[dependencies] 36annotate-snippets = { version = "0.9", features = ["color"] } 37anyhow = "1.0" 38bytecount = "0.6" 39cargo_metadata = "0.15.4" 40clap = { version = "4.2.1", features = ["derive"] } 41diff = "0.1" 42dirs = "4.0" 43env_logger = "0.10.0" 44getopts = "0.2" 45ignore = "0.4" 46itertools = "0.10" 47lazy_static = "1.4" 48log = "0.4" 49regex = "1.5" 50serde = { version = "1.0.160", features = ["derive"] } 51serde_json = "1.0" 52term = "0.7" 53thiserror = "1.0.40" 54toml = "0.7.4" 55unicode-segmentation = "1.9" 56unicode-width = "0.1" 57unicode_categories = "0.1" 58 59rustfmt-config_proc_macro = { version = "0.3", path = "config_proc_macro" } 60 61# Rustc dependencies are loaded from the sysroot, Cargo doesn't know about them. 62 63[package.metadata.rust-analyzer] 64# This package uses #[feature(rustc_private)] 65rustc_private = true