mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	Rationale: - `atty` is widely used in the Rust ecosystem - We already use it (in `rustc_errors` and other places) - We shouldn't be rolling our own TTY detector when there's a widely-used, well-tested package that we can use
		
			
				
	
	
		
			44 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			TOML
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			TOML
		
	
	
	
	
	
[package]
 | 
						|
authors = ["The Rust Project Developers"]
 | 
						|
name = "rustc_driver"
 | 
						|
version = "0.0.0"
 | 
						|
edition = "2018"
 | 
						|
 | 
						|
[lib]
 | 
						|
crate-type = ["dylib"]
 | 
						|
 | 
						|
[dependencies]
 | 
						|
libc = "0.2"
 | 
						|
atty = "0.2"
 | 
						|
tracing = { version = "0.1.18" }
 | 
						|
tracing-subscriber = { version = "0.2.13", default-features = false, features = ["fmt", "env-filter", "smallvec", "parking_lot", "ansi"] }
 | 
						|
tracing-tree = "0.1.6"
 | 
						|
rustc_middle = { path = "../rustc_middle" }
 | 
						|
rustc_ast_pretty = { path = "../rustc_ast_pretty" }
 | 
						|
rustc_target = { path = "../rustc_target" }
 | 
						|
rustc_lint = { path = "../rustc_lint" }
 | 
						|
rustc_data_structures = { path = "../rustc_data_structures" }
 | 
						|
rustc_errors = { path = "../rustc_errors" }
 | 
						|
rustc_feature = { path = "../rustc_feature" }
 | 
						|
rustc_hir = { path = "../rustc_hir" }
 | 
						|
rustc_hir_pretty = { path = "../rustc_hir_pretty" }
 | 
						|
rustc_metadata = { path = "../rustc_metadata" }
 | 
						|
rustc_mir = { path = "../rustc_mir" }
 | 
						|
rustc_parse = { path = "../rustc_parse" }
 | 
						|
rustc_plugin_impl = { path = "../rustc_plugin_impl" }
 | 
						|
rustc_save_analysis = { path = "../rustc_save_analysis" }
 | 
						|
rustc_codegen_ssa = { path = "../rustc_codegen_ssa" }
 | 
						|
rustc_session = { path = "../rustc_session" }
 | 
						|
rustc_error_codes = { path = "../rustc_error_codes" }
 | 
						|
rustc_interface = { path = "../rustc_interface" }
 | 
						|
rustc_serialize = { path = "../rustc_serialize" }
 | 
						|
rustc_ast = { path = "../rustc_ast" }
 | 
						|
rustc_span = { path = "../rustc_span" }
 | 
						|
 | 
						|
[target.'cfg(windows)'.dependencies]
 | 
						|
winapi = { version = "0.3", features = ["consoleapi", "debugapi", "processenv"] }
 | 
						|
 | 
						|
[features]
 | 
						|
llvm = ['rustc_interface/llvm']
 | 
						|
max_level_info = ['tracing/max_level_info']
 |