Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Introduction

cargo-sync-rdme is a Cargo subcommand for keeping package READMEs and other Markdown files up to date.

The Markdown content is generated from your package metadata and crate documentation.

  • Single source of truth – keep information in its canonical locations instead of duplicating it in README files.
  • Cargo metadata – generate the Markdown title and badges from Cargo.toml.
  • Crate documentation – embed sections from crate documentation.
  • Accurate link resolution – use rustdoc’s JSON output to resolve intra-doc links.
  • Preserve existing Markdown – synchronize only the sections you configure, while leaving the rest of your Markdown untouched.
  • Markdown as configuration – configure which sections to synchronize directly in the Markdown file. You can read the Markdown as usual, and no separate template files are needed.

Contributing

cargo-sync-rdme is free and open-source. You can find source code on GitHub and issues and feature requests can be posted on the GitHub issue tracker. If you’d like to contribute, please read the CONTRIBUTING.md.

License

This project is licensed under either of

at your option.