whatisgithub

What is version-sync?

liushuyu/version-sync — explained in plain English

Analysis updated 2026-07-06 · repo last pushed 2024-05-24

RustAudience · developerComplexity · 2/5DormantSetup · easy

In one sentence

A tool for Rust developers that automatically checks if version numbers mentioned in files like README match the actual version in the project config, preventing outdated documentation when releasing new versions.

Mindmap

mindmap
  root((repo))
    What it does
      Checks version refs
      Compares to config
      Runs in test workflow
    Use cases
      Keep README updated
      Verify doc links
      Prevent stale instructions
    Audience
      Rust developers
      Library maintainers
      Open source publishers
    Features
      Custom search patterns
      Skip tagged blocks
      Points out mismatches
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Catch outdated version numbers in your README before publishing a new release.

USE CASE 2

Verify documentation links point to the correct versioned pages.

USE CASE 3

Automatically verify version references during your standard Rust test workflow.

What is it built with?

Rust

How does it compare?

liushuyu/version-syncbakome-hub/bakome-crypto-quant-enginecaspermeijn/nmea-test-messages
Stars0
LanguageRustRustRust
Last pushed2024-05-242024-09-16
MaintenanceDormantStale
Setup difficultyeasyeasyeasy
Complexity2/53/51/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Integrates directly into Rust's standard testing workflow as a dev-dependency.

So what is it?

If you've ever released a new version of your software and then realized your README still tells people to install the old version, version-sync is here to help. It's a tool for Rust developers that automatically checks whether references to your project's version number, like in your README or documentation links, match the actual version defined in your project's configuration file. Think of it as a safety net that catches the easy-to-miss details when you're rushing to ship a release. Here's how it works: when you run your project's tests, version-sync scans specific files for version numbers and compares them to the one in your main config. For example, if your README contains a code block showing how to install your library at version 0.1 but you just bumped the real version to 0.2, the test fails and points out exactly where the mismatch is. You can also check that documentation links point to the right versioned page. If you have a code block in your README that intentionally uses an old version number, you can tag it to be skipped during these checks. This tool is designed for Rust developers and library maintainers who publish packages publicly. Imagine you maintain a popular open-source library and you just released version 1.4. You changed the version number in your config, but forgot to update the install instructions in your README. Without this tool, your users might copy-paste outdated instructions and get confused when things don't work. With version-sync, your automated tests catch that mistake before anyone else does. The project is straightforward and focused on doing one job well. It integrates directly into Rust's standard testing workflow, so there's no separate step to remember, if your tests pass, your version references are consistent. The README notes that it can also search files using custom patterns, giving you flexibility beyond just README files.

Copy-paste prompts

Prompt 1
How do I add version-sync to my Rust project's test suite to check that my README version matches my Cargo.toml?
Prompt 2
How can I tell version-sync to skip a specific code block in my README that intentionally uses an old version number?
Prompt 3
How do I configure version-sync to search for version numbers using custom patterns in files other than my README?

Frequently asked questions

What is version-sync?

A tool for Rust developers that automatically checks if version numbers mentioned in files like README match the actual version in the project config, preventing outdated documentation when releasing new versions.

What language is version-sync written in?

Mainly Rust. The stack also includes Rust.

Is version-sync actively maintained?

Dormant — no commits in 2+ years (last push 2024-05-24).

How hard is version-sync to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is version-sync for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.