Skip to content

Commit f6a1e96

Browse files
bors[bot]phip1611
andauthored
Merge #25
25: add README.md to Cargo.toml in order for crates.io to have a nice README preview r=nastevens a=phip1611 Currently the crates.io page only shows the description from Cargo.toml, see: https://crates.io/crates/spidev If you add `readme = "README.md"` it will show the README including the code example. This will attract more users to use this crate. Co-authored-by: Philipp Schuster <[email protected]>
2 parents deb29ab + bf8f7be commit f6a1e96

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ version = "0.4.0"
55
authors = ["Paul Osborne <[email protected]>"]
66
edition = "2018"
77
license = "MIT/Apache-2.0"
8+
readme = "README.md"
89
repository = "https://github.com/rust-embedded/rust-spidev"
910
homepage = "https://github.com/rust-embedded/rust-spidev"
1011
documentation = "https://docs.rs/spidev"

0 commit comments

Comments
 (0)