From 35ce72cbb24a02c2dac1bce89eaf14290b00e19b Mon Sep 17 00:00:00 2001 From: Luuk van der Duim Date: Thu, 28 Sep 2023 13:43:43 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20Bump=20version=20to=20v0.3.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - We can now call macros with a third parameter 'argument' if we want a single argument signature returned. - We allow calling macros with identifiers: 'member', 'interface' and 'argument' - Docs and tests to accompany and guard the changes above. --- zbus-lockstep-macros/Cargo.toml | 4 ++-- zbus-lockstep-macros/README.md | 2 +- zbus-lockstep-macros/src/lib.rs | 2 +- zbus-lockstep/Cargo.toml | 2 +- zbus-lockstep/README.md | 2 +- zbus-lockstep/src/lib.rs | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/zbus-lockstep-macros/Cargo.toml b/zbus-lockstep-macros/Cargo.toml index a3f0342..b7bf9e8 100644 --- a/zbus-lockstep-macros/Cargo.toml +++ b/zbus-lockstep-macros/Cargo.toml @@ -2,7 +2,7 @@ name = "zbus-lockstep-macros" authors = ["Luuk van der Duim "] description = "Macros to keep types in lockstep with DBus XML definitions" -version = "0.2.3" +version = "0.3.0" edition = "2021" keywords = ["type-safety", "zbus", "DBus", "IPC"] categories = ["API-bindings"] @@ -22,7 +22,7 @@ proc-macro = true syn = "2.0" proc-macro2 = "1.0" quote = "1.0" -zbus-lockstep = { path = "../zbus-lockstep", version = "0.2.3" } +zbus-lockstep = { path = "../zbus-lockstep", version = "0.3.0" } zbus = { version = "3", features = ["xml"] } [dev-dependencies] diff --git a/zbus-lockstep-macros/README.md b/zbus-lockstep-macros/README.md index f0bf5f2..dea15cd 100644 --- a/zbus-lockstep-macros/README.md +++ b/zbus-lockstep-macros/README.md @@ -22,7 +22,7 @@ Add `zbus-lockstep-macros` to `Cargo.toml`'s dependencies: ```toml [dependencies] -zbus-lockstep-macros = "0.2.3" +zbus-lockstep-macros = "0.3.0" ``` If the `DBus` XML descriptions can be found in the crates root, diff --git a/zbus-lockstep-macros/src/lib.rs b/zbus-lockstep-macros/src/lib.rs index 2cf0ad4..c66fc63 100644 --- a/zbus-lockstep-macros/src/lib.rs +++ b/zbus-lockstep-macros/src/lib.rs @@ -1,7 +1,7 @@ //! # zbus-lockstep-macros //! //! This provides the `validate` macro that builds on `zbus-lockstep`. -#![doc(html_root_url = "https://docs.rs/zbus-lockstep-macros/0.2.3")] +#![doc(html_root_url = "https://docs.rs/zbus-lockstep-macros/0.3.0")] type Result = std::result::Result; diff --git a/zbus-lockstep/Cargo.toml b/zbus-lockstep/Cargo.toml index 2997523..20a9480 100644 --- a/zbus-lockstep/Cargo.toml +++ b/zbus-lockstep/Cargo.toml @@ -5,7 +5,7 @@ authors = [ "Tait Hoyem", ] description = "Keep types in lockstep with DBus XML definitions" -version = "0.2.3" +version = "0.3.0" edition = "2021" keywords = ["type-safety", "zbus", "DBus", "IPC"] categories = ["API-bindings"] diff --git a/zbus-lockstep/README.md b/zbus-lockstep/README.md index 0eb83e2..6fd48f4 100644 --- a/zbus-lockstep/README.md +++ b/zbus-lockstep/README.md @@ -26,7 +26,7 @@ Add `zbus-lockstep` to `Cargo.toml`'s dev-dependencies: ```toml [dev-dependencies] -zbus-lockstep = "0.2.3" +zbus-lockstep = "0.3.0" ``` Consider the followwing XML description, an interface with a single signal. diff --git a/zbus-lockstep/src/lib.rs b/zbus-lockstep/src/lib.rs index 910676b..9e490fd 100644 --- a/zbus-lockstep/src/lib.rs +++ b/zbus-lockstep/src/lib.rs @@ -17,7 +17,7 @@ //! //! - `xml` or `XML`, the default path for `DBus` XML files - or is set by the //! - `LOCKSTEP_XML_PATH`, the env variable that overrides the default. -#![doc(html_root_url = "https://docs.rs/zbus-lockstep/0.2.3")] +#![doc(html_root_url = "https://docs.rs/zbus-lockstep/0.3.0")] #![allow(clippy::missing_errors_doc)] mod macros;