Skip to content

Commit

Permalink
chore: Add version-sync to dev-dependencies.
Browse files Browse the repository at this point in the history
Makes version bumps a little easier.
  • Loading branch information
shanecelis committed Apr 15, 2024
1 parent 6ee9286 commit ccda2c1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ louds-rs = "0.6"
criterion = "0.2"
rand = "0.6"
lazy_static = "1.3"
version-sync = "0.9"

[[bench]]
name = "bench"
Expand Down
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![doc(html_root_url = "https://docs.rs/trie-rs/0.3.0")]
#![forbid(missing_docs)]
//! Memory efficient trie (prefix tree) and map library based on LOUDS.
//!
Expand All @@ -22,7 +23,7 @@
//!
//! ```toml
//! [dependencies]
//! trie-rs = "0.1" # NOTE: Replace to latest minor version.
//! trie-rs = "0.3"
//! ```
//!
//! ## Usage Overview
Expand Down
9 changes: 9 additions & 0 deletions tests/version-numbers.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#[test]
fn test_readme_deps() {
version_sync::assert_markdown_deps_updated!("README.md");
}

#[test]
fn test_html_root_url() {
version_sync::assert_html_root_url_updated!("src/lib.rs");
}

0 comments on commit ccda2c1

Please sign in to comment.