Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix README not rendering on cargo.io #15

Merged
merged 1 commit into from
May 27, 2022

Conversation

jeffcharles
Copy link
Contributor

The README isn't rendering for the crate in cargo.io. This should fix it by symbolically linking it into the crate. This is the same approach as to how https://github.com/serde-rs/serde/tree/master/serde handles the same problem.

An alternative I considered is having the Cargo.toml file use a relative path to get the README but then the README file isn't uploaded inside the crate whereas the symlinking approach appears to result in it being in the crate (see https://docs.rs/crate/serde/1.0.11/source/README.md).

@jeffcharles jeffcharles requested a review from saulecabrera May 27, 2022 21:33
@jeffcharles jeffcharles merged commit a90766d into main May 27, 2022
@jeffcharles jeffcharles deleted the jc.fix-readme-not-rendering branch May 27, 2022 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants