mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	Switch from `derivative` to `derive-where` This is a part of the effort to get rid of `syn 1.*` in compiler's dependencies: #109302 Derivative has not been maintained in nearly 3 years[^1]. It also depends on `syn 1.*`. This PR replaces `derivative` with `derive-where`[^2], a not dead alternative, which uses `syn 2.*`. A couple of `Debug` formats have changed around the skipped fields[^3], but I doubt this is an issue. [^1]: https://github.com/mcarton/rust-derivative/issues/117 [^2]: https://lib.rs/crates/derive-where [^3]: See the changes in `tests/ui`
		
			
				
	
	
		
			30 lines
		
	
	
		
			895 B
		
	
	
	
		
			TOML
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			895 B
		
	
	
	
		
			TOML
		
	
	
	
	
	
[package]
 | 
						|
name = "rustc_next_trait_solver"
 | 
						|
version = "0.0.0"
 | 
						|
edition = "2021"
 | 
						|
 | 
						|
[dependencies]
 | 
						|
# tidy-alphabetical-start
 | 
						|
bitflags = "2.4.1"
 | 
						|
derive-where = "1.2.7"
 | 
						|
rustc_ast_ir = { path = "../rustc_ast_ir", default-features = false }
 | 
						|
rustc_data_structures = { path = "../rustc_data_structures", optional = true }
 | 
						|
rustc_index = { path = "../rustc_index", default-features = false }
 | 
						|
rustc_macros = { path = "../rustc_macros", optional = true }
 | 
						|
rustc_serialize = { path = "../rustc_serialize", optional = true }
 | 
						|
rustc_type_ir = { path = "../rustc_type_ir", default-features = false }
 | 
						|
rustc_type_ir_macros = { path = "../rustc_type_ir_macros" }
 | 
						|
tracing = "0.1"
 | 
						|
# tidy-alphabetical-end
 | 
						|
 | 
						|
[features]
 | 
						|
default = ["nightly"]
 | 
						|
nightly = [
 | 
						|
    "dep:rustc_data_structures",
 | 
						|
    "dep:rustc_macros",
 | 
						|
    "dep:rustc_serialize",
 | 
						|
    "rustc_ast_ir/nightly",
 | 
						|
    "rustc_index/nightly",
 | 
						|
    "rustc_type_ir/nightly",
 | 
						|
]
 |