Skip to content

Commit

Permalink
Start development of 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
R1tschY committed Sep 15, 2023
1 parent 3542a41 commit 7be9b36
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion chassis-proc-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "chassis-proc-macros"
version = "0.2.0"
version = "0.3.0-dev"
authors = ["Richard Liebscher <[email protected]>"]
readme = "../README.md"
edition = "2021"
Expand Down
4 changes: 2 additions & 2 deletions chassis/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "chassis"
version = "0.2.0"
version = "0.3.0-dev"
edition = "2021"
readme = "../README.md"
authors = ["Richard Liebscher <[email protected]>"]
Expand All @@ -12,7 +12,7 @@ keywords = ["dependency-injection", "inversion-of-control", "di"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
chassis-proc-macros = { path = "../chassis-proc-macros", version = "=0.2.0" }
chassis-proc-macros = { path = "../chassis-proc-macros", version = "=0.3.0-dev" }

[dev-dependencies]
version-sync = "0.9"
Expand Down
4 changes: 2 additions & 2 deletions chassis/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![doc(html_root_url = "https://docs.rs/chassis/0.2.0")]
#![doc(html_root_url = "https://docs.rs/chassis/0.3.0-dev")]

//! Compile-time dependency injector.
//!
Expand All @@ -20,7 +20,7 @@
//! Add `chassis` to your crate dependencies
//! ```toml
//! [dependencies]
//! chassis = "^0.2.0"
//! chassis = "^0.3.0-dev"
//! ```
//!
//! Structs will be modules that can provide dependencies with functions
Expand Down
8 changes: 8 additions & 0 deletions chassis/tests/version-numbers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ fn test_lib_deps() {
version_sync::assert_contains_regex!("src/lib.rs", "chassis = \"\\^{version}\"");
}

#[test]
fn proc_macro_dep() {
version_sync::assert_contains_regex!(
"Cargo.toml",
"chassis-proc-macros = \\{.*version = \"={version}\""
);
}

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

0 comments on commit 7be9b36

Please sign in to comment.