# Objective - The [`version`] field in `Cargo.toml` is optional for crates not published on <https://crates.io>. - We have several `publish = false` tools in this repository that still have a version field, even when it's not useful. [`version`]: https://doc.rust-lang.org/cargo/reference/manifest.html#the-version-field ## Solution - Remove the [`version`] field for all crates where `publish = false`. - Update the description on a few crates and remove extra newlines as well.
		
			
				
	
	
		
			23 lines
		
	
	
		
			554 B
		
	
	
	
		
			TOML
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			554 B
		
	
	
	
		
			TOML
		
	
	
	
	
	
[package]
 | 
						|
name = "build-templated-pages"
 | 
						|
edition = "2021"
 | 
						|
description = "Tool that checks and fixes undocumented features and examples"
 | 
						|
publish = false
 | 
						|
license = "MIT OR Apache-2.0"
 | 
						|
 | 
						|
[dependencies]
 | 
						|
toml_edit = { version = "0.22.7", default-features = false, features = [
 | 
						|
  "parse",
 | 
						|
] }
 | 
						|
tera = "1.15"
 | 
						|
serde = { version = "1.0", features = ["derive"] }
 | 
						|
bitflags = "2.3"
 | 
						|
hashbrown = { version = "0.14", features = ["serde"] }
 | 
						|
 | 
						|
[lints]
 | 
						|
workspace = true
 | 
						|
 | 
						|
[package.metadata.docs.rs]
 | 
						|
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"]
 | 
						|
all-features = true
 |