# Objective - Fix adding `#![allow(clippy::type_complexity)]` everywhere. like #9796 ## Solution - Use the new [lints] table that will land in 1.74 (https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#lints) - inherit lint to the workspace, crates and examples. ``` [lints] workspace = true ``` ## Changelog - Bump rust version to 1.74 - Enable lints table for the workspace ```toml [workspace.lints.clippy] type_complexity = "allow" ``` - Allow type complexity for all crates and examples ```toml [lints] workspace = true ``` --------- Co-authored-by: Martín Maita <47983254+mnmaita@users.noreply.github.com>
		
			
				
	
	
		
			34 lines
		
	
	
		
			838 B
		
	
	
	
		
			TOML
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			838 B
		
	
	
	
		
			TOML
		
	
	
	
	
	
[package]
 | 
						|
name = "bevy_mobile_example"
 | 
						|
version = "0.1.0"
 | 
						|
edition = "2021"
 | 
						|
description = "Example for building an iOS or Android app with Bevy"
 | 
						|
publish = false
 | 
						|
license = "MIT OR Apache-2.0"
 | 
						|
 | 
						|
[lib]
 | 
						|
name = "bevy_mobile_example"
 | 
						|
crate-type = ["staticlib", "cdylib"]
 | 
						|
 | 
						|
[dependencies]
 | 
						|
bevy = { path = "../../" }
 | 
						|
 | 
						|
[package.metadata.android]
 | 
						|
package = "org.bevyengine.example"
 | 
						|
apk_name = "bevyexample"
 | 
						|
assets = "../../assets"
 | 
						|
resources = "../../assets/android-res"
 | 
						|
# This strips debug symbols from the shared libraries, drastically reducing APK size. If you need them, remove the option.
 | 
						|
strip = "strip"
 | 
						|
build_targets = ["aarch64-linux-android", "armv7-linux-androideabi"]
 | 
						|
 | 
						|
[package.metadata.android.sdk]
 | 
						|
target_sdk_version = 31
 | 
						|
 | 
						|
[package.metadata.android.application]
 | 
						|
icon = "@mipmap/ic_launcher"
 | 
						|
label = "Bevy Example"
 | 
						|
 | 
						|
[lints]
 | 
						|
workspace = true
 |