From d8467be99ec3ac59bca859af0a2b8abecaa09707 Mon Sep 17 00:00:00 2001 From: Mcat12 Date: Mon, 11 May 2020 12:39:51 -0400 Subject: [PATCH] Bump to 0.3.1, update changelog, and use path dependencies explicitly --- CHANGELOG.md | 8 +++++++- Cargo.toml | 4 ---- shaku/Cargo.toml | 4 ++-- shaku_derive/Cargo.toml | 4 ++-- shaku_rocket/Cargo.toml | 8 ++------ 5 files changed, 13 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 28b544d..6b953c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 @@ -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 diff --git a/Cargo.toml b/Cargo.toml index 61ae772..e0d030e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" } diff --git a/shaku/Cargo.toml b/shaku/Cargo.toml index ab75b6b..ad328d8 100644 --- a/shaku/Cargo.toml +++ b/shaku/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shaku" -version = "0.3.0" +version = "0.3.1" authors = ["Mark Drobnak "] description = "Compile Time Dependency Injection for Rust" repository = "https://github.com/Mcat12/shaku" @@ -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] diff --git a/shaku_derive/Cargo.toml b/shaku_derive/Cargo.toml index e55dbaf..7af9a72 100644 --- a/shaku_derive/Cargo.toml +++ b/shaku_derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shaku_derive" -version = "0.3.0" +version = "0.3.1" authors = ["Mark Drobnak "] description = "Code generation for the shaku dependency injection framework" repository = "https://github.com/Mcat12/shaku" @@ -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" diff --git a/shaku_rocket/Cargo.toml b/shaku_rocket/Cargo.toml index 033e5f7..66dfd80 100644 --- a/shaku_rocket/Cargo.toml +++ b/shaku_rocket/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shaku_rocket" -version = "0.3.0" +version = "0.3.1" authors = ["Mark Drobnak "] description = "Integration between shaku and Rocket" repository = "https://github.com/Mcat12/shaku" @@ -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" }