52cc0d5360
Use `IsTerminal` in place of `atty` In any crate that can use nightly features, use `IsTerminal` rather than `atty`: - Use `IsTerminal` in `rustc_errors` - Use `IsTerminal` in `rustc_driver` - Use `IsTerminal` in `rustc_log` - Use `IsTerminal` in `librustdoc`
32 lines
962 B
TOML
32 lines
962 B
TOML
[package]
|
|
name = "rustc_errors"
|
|
version = "0.0.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
|
|
[dependencies]
|
|
tracing = "0.1"
|
|
rustc_ast = { path = "../rustc_ast" }
|
|
rustc_ast_pretty = { path = "../rustc_ast_pretty" }
|
|
rustc_error_messages = { path = "../rustc_error_messages" }
|
|
rustc_serialize = { path = "../rustc_serialize" }
|
|
rustc_span = { path = "../rustc_span" }
|
|
rustc_macros = { path = "../rustc_macros" }
|
|
rustc_data_structures = { path = "../rustc_data_structures" }
|
|
rustc_target = { path = "../rustc_target" }
|
|
rustc_hir = { path = "../rustc_hir" }
|
|
rustc_lint_defs = { path = "../rustc_lint_defs" }
|
|
unicode-width = "0.1.4"
|
|
termcolor = "1.0"
|
|
annotate-snippets = "0.9"
|
|
termize = "0.1.1"
|
|
serde = { version = "1.0.125", features = [ "derive" ] }
|
|
serde_json = "1.0.59"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = { version = "0.3", features = [ "handleapi", "synchapi", "winbase" ] }
|
|
|
|
[features]
|
|
rustc_use_parallel_compiler = ['rustc_error_messages/rustc_use_parallel_compiler']
|