This avoids problems with cargo pulling packages with unsupported edition in the future, as well as opens up the ability to use new language features. Most importantly, cargo deps can be unlocked.
		
			
				
	
	
		
			29 lines
		
	
	
		
			1013 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			1013 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
option('depdatadir',
 | 
						|
       type : 'string',
 | 
						|
       value : '',
 | 
						|
       description : 'System data path. Will be searched for definitions instead of datadir when provided')
 | 
						|
 | 
						|
option('tests',
 | 
						|
       type: 'boolean', value: true,
 | 
						|
       description: 'Whether to compile unit tests')
 | 
						|
 | 
						|
option('find_orphans',
 | 
						|
       type: 'boolean', value: false,
 | 
						|
       description: 'Check if all present layout files are included in resources.')
 | 
						|
 | 
						|
option('newer',
 | 
						|
       type: 'boolean', value: false,
 | 
						|
       description: 'Build with dependencies newer than those of Byzantium')
 | 
						|
 | 
						|
option('online',
 | 
						|
       type: 'boolean', value: true,
 | 
						|
       description: 'Pull packages from the internet while building, as opposed to a local regstry.')
 | 
						|
       
 | 
						|
option('reset_lock',
 | 
						|
       type: 'boolean', value: false,
 | 
						|
       description: 'Resets Cargo.lock to the one found in the source repo. Does not affect builds with online == false.')
 | 
						|
 | 
						|
option('strict',
 | 
						|
       type: 'boolean', value: true,
 | 
						|
       description: 'Turn more warnings into errors')
 |