gtk-sys and cairo-sys were set to "anything" in the hope that the dependency resolver in cargo would use the same version as other dependencies, which consume objects from them. That's not the case though, and they went out of sync. This pins the dependencies to what is de facto being used.
		
			
				
	
	
		
			42 lines
		
	
	
		
			815 B
		
	
	
	
		
			TOML
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			815 B
		
	
	
	
		
			TOML
		
	
	
	
	
	
[package]
 | 
						|
name = "rs"
 | 
						|
version = "0.1.0"
 | 
						|
 | 
						|
[lib]
 | 
						|
name = "rs"
 | 
						|
path = "@path@/src/lib.rs"
 | 
						|
crate-type = ["staticlib", "rlib"]
 | 
						|
 | 
						|
# Cargo can't do autodiscovery if Cargo.toml is not in the root.
 | 
						|
[[bin]]
 | 
						|
name = "test_layout"
 | 
						|
path = "@path@/src/bin/test_layout.rs"
 | 
						|
 | 
						|
[[example]]
 | 
						|
name = "test_layout"
 | 
						|
path = "@path@/examples/test_layout.rs"
 | 
						|
 | 
						|
[features]
 | 
						|
gio_v0_5 = []
 | 
						|
gtk_v0_5 = []
 | 
						|
rustc_less_1_36 = []
 | 
						|
 | 
						|
# Dependencies which don't change based on build flags
 | 
						|
[dependencies.cairo-sys-rs]
 | 
						|
version = "0.9"
 | 
						|
 | 
						|
[dependencies.glib-sys]
 | 
						|
version = "*"
 | 
						|
features = ["v2_44"]
 | 
						|
 | 
						|
[dependencies.gtk-sys]
 | 
						|
version = "0.9"
 | 
						|
features = ["v3_22"]
 | 
						|
 | 
						|
[dependencies]
 | 
						|
maplit = "1.0.*"
 | 
						|
serde = { version = "1.0.*", features = ["derive"] }
 | 
						|
serde_yaml = "0.8.*"
 | 
						|
xkbcommon = { version = "0.4.*", features = ["wayland"] }
 | 
						|
# Here is inserted the Cargo.deps file
 |