From 0c816fe3835689c8e3a002b12778e3193a146144 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sat, 31 Oct 2020 08:39:17 +0100 Subject: [PATCH] bump proxmox-api-macro version to 0.2.3 Signed-off-by: Thomas Lamprecht --- proxmox-api-macro/Cargo.toml | 2 +- proxmox-api-macro/debian/changelog | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/proxmox-api-macro/Cargo.toml b/proxmox-api-macro/Cargo.toml index 8f1f55ce..8cc089c6 100644 --- a/proxmox-api-macro/Cargo.toml +++ b/proxmox-api-macro/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "proxmox-api-macro" edition = "2018" -version = "0.2.2" +version = "0.2.3" authors = [ "Wolfgang Bumiller " ] license = "AGPL-3" description = "Proxmox API macro" diff --git a/proxmox-api-macro/debian/changelog b/proxmox-api-macro/debian/changelog index ef1234c8..5e2c9e70 100644 --- a/proxmox-api-macro/debian/changelog +++ b/proxmox-api-macro/debian/changelog @@ -1,3 +1,13 @@ +rust-proxmox-api-macro (0.2.3-1) unstable; urgency=medium + + * api macro: reuse generated default const for "unwrap_or" instead of adding + a closure which returned the default value inline. This allows one to + define optional params with a default as non-option type in a API handler + signature without getting a warning that the const generated for that + default is now unused. + + -- Proxmox Support Team Sat, 31 Oct 2020 08:38:18 +0100 + rust-proxmox-api-macro (0.2.2-1) unstable; urgency=medium * api-macro: replace ident hashmap with simple find