Skip to content

Commit

Permalink
Bump to 0.3.1, update changelog, and use path dependencies explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
AzureMarker committed May 11, 2020
1 parent ed4e64e commit d8467be
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 15 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.3.1] - 2020-05-11
### Fixed
- Fix "no function or associated item named ..." errors when using the
`module` macro to generate a module and certain traits are not in scope.

## [0.3.0] - 2020-05-09
### Added
- Support submodules. Modules can now wrap other modules and use services from
Expand Down Expand Up @@ -37,7 +42,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Initial release

[Unreleased]: https://github.com/Mcat12/shaku/compare/v0.3.0...HEAD
[Unreleased]: https://github.com/Mcat12/shaku/compare/v0.3.1...HEAD
[0.3.1]: https://github.com/Mcat12/shaku/releases/tag/v0.3.1
[0.3.0]: https://github.com/Mcat12/shaku/releases/tag/v0.3.0
[0.2.0]: https://github.com/Mcat12/shaku/releases/tag/v0.2.0
[0.1.0]: https://github.com/Mcat12/shaku/releases/tag/v0.1.0
4 changes: 0 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,3 @@ members = [
# shaku_rocket is excluded because it uses the nightly compiler.
# It must be separately compiled (cargo check/build/test).
exclude = ["shaku_rocket"]

[patch.crates-io]
shaku = { path = "shaku" }
shaku_derive = { path = "shaku_derive" }
4 changes: 2 additions & 2 deletions shaku/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shaku"
version = "0.3.0"
version = "0.3.1"
authors = ["Mark Drobnak <mark.drobnak@gmail.com>"]
description = "Compile Time Dependency Injection for Rust"
repository = "https://github.com/Mcat12/shaku"
Expand All @@ -10,7 +10,7 @@ license = "MIT/Apache-2.0"
edition = "2018"

[dependencies]
shaku_derive = { version = "~0.3.0", optional = true }
shaku_derive = { version = "~0.3.1", path = "../shaku_derive", optional = true }
anymap = "0.12.1"

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions shaku_derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shaku_derive"
version = "0.3.0"
version = "0.3.1"
authors = ["Mark Drobnak <mark.drobnak@gmail.com>"]
description = "Code generation for the shaku dependency injection framework"
repository = "https://github.com/Mcat12/shaku"
Expand All @@ -17,5 +17,5 @@ syn = { version = "1.0", features = ["extra-traits", "full"] }
proc-macro2 = "1.0"

[dev-dependencies]
shaku = "~0.3.0"
shaku = { version = "~0.3.1", path = "../shaku" }
trybuild = "1.0"
8 changes: 2 additions & 6 deletions shaku_rocket/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shaku_rocket"
version = "0.3.0"
version = "0.3.1"
authors = ["Mark Drobnak <mark.drobnak@gmail.com>"]
description = "Integration between shaku and Rocket"
repository = "https://github.com/Mcat12/shaku"
Expand All @@ -9,9 +9,5 @@ license = "MIT/Apache-2.0"
edition = "2018"

[dependencies]
shaku = "~0.3.0"
shaku = { version = "~0.3.1", path = "../shaku" }
rocket = "0.4"

[patch.crates-io]
shaku = { path = "../shaku" }
shaku_derive = { path = "../shaku_derive" }

0 comments on commit d8467be

Please sign in to comment.