Skip to content

Commit f4c8a39

Browse files
authored
Add README for the servo crate (servo#43654)
Add `readme` field to libservo's Cargo.toml, pointing to the repository root README via `../../README.md`. This ensures the crates.io page displays content when the crate is published, as Cargo copies the referenced file into the package during `cargo publish`. Testing: This change only adds a metadata field to Cargo.toml and does not affect build output or runtime behavior. No tests are required. fixes servo#43143 Signed-off-by: staysafe020 <jambongralpher@gmail.com>
1 parent 5e19c83 commit f4c8a39

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/servo/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ publish.workspace = true
88
rust-version.workspace = true
99
repository.workspace = true
1010
description.workspace = true
11+
readme = "../../README.md"
1112

1213
[lib]
1314
name = "servo"

0 commit comments

Comments
 (0)