Skip to content

Commit 141f7ed

Browse files
committed
[tests] use version-sync, add doc(html_root_url)
1 parent ab14bf6 commit 141f7ed

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ log = "0.3.8"
2424
libc = "0.2.24"
2525
ws2_32-sys = "0.2.1"
2626
winapi = "0.2.5"
27+
28+
[dev-dependencies]
29+
version-sync = "0.5"

src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![doc(html_root_url = "https://docs.rs/async-dnssd/0.4.0")]
12
//! # Asynchronous wrapper for DNS-SD C libraries
23
//!
34
//! Interesting entry points:

tests/version-numbers.rs

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#[macro_use]
2+
extern crate version_sync;
3+
4+
#[test]
5+
fn test_readme_deps() {
6+
assert_markdown_deps_updated!("README.md");
7+
}
8+
9+
#[test]
10+
fn test_html_root_url() {
11+
assert_html_root_url_updated!("src/lib.rs");
12+
}

0 commit comments

Comments
 (0)