a919efad2e
This crate moves the compiler's error reporting to using the `termcolor` crate from crates.io. Previously rustc used a super-old version of the `term` crate in-tree which is basically unmaintained at this point, but Cargo has been using `termcolor` for some time now and tools like `rg` are using `termcolor` as well, so it seems like a good strategy to take! Note that the `term` crate remains in-tree for libtest. Changing libtest will be a bit tricky due to how the build works, but we can always tackle that later. cc #45728
18 lines
380 B
TOML
18 lines
380 B
TOML
[package]
|
|
authors = ["The Rust Project Developers"]
|
|
name = "rustc_errors"
|
|
version = "0.0.0"
|
|
|
|
[lib]
|
|
name = "rustc_errors"
|
|
path = "lib.rs"
|
|
crate-type = ["dylib"]
|
|
|
|
[dependencies]
|
|
serialize = { path = "../libserialize" }
|
|
syntax_pos = { path = "../libsyntax_pos" }
|
|
rustc_data_structures = { path = "../librustc_data_structures" }
|
|
unicode-width = "0.1.4"
|
|
atty = "0.2"
|
|
termcolor = "0.3"
|