rust-perlmod-macro (0.8.1-1) stable; urgency=medium * clippy fixups & code health * fix syntax error in code generated for non-result tuple return types * add a 'serialize_error' export attribute for structured error values * add an 'errno' export attribute to copy the perlmod errno value to libc's errno value at the end of an exported function -- Proxmox Support Team Wed, 10 May 2023 10:11:34 +0200 rust-perlmod-macro (0.8.0-1) stable; urgency=medium * bring error span handling up to date (remove some unnecessary clones) * add a 'write' boolean attribute to packages * rename boot xsubs to 'boot_PACKAGE__NAME' * .pm files aren't written out by default anymore, only if: a 'file' attribute is set or the 'write' attribute is set to true or the PERLMOD_WRITE_PACKAGES environment variable is set to 1 -- Proxmox Support Team Fri, 25 Feb 2022 15:48:49 +0100 rust-perlmod-macro (0.7.0-1) stable; urgency=medium * expose 'cv' parameter on exports via the #[cv] attribute on a `Value` * change 'multiplicity' parameter type from `*const usize` to `*const ffi::Interpreter` * use raw pointer for CV parameter in xs subs * copy visibility to xsub wrappers -- Proxmox Support Team Tue, 25 Jan 2022 09:28:48 +0100 rust-perlmod-macro (0.6.0-1) stable; urgency=medium * don't publicly export xs methods in packages made with #[package] * make trailing Option<> parameters actually optional parameters with a semicolon in their perl prototype * fix missing parameter names in error messages -- Proxmox Support Team Fri, 26 Nov 2021 14:00:28 +0100 rust-perlmod-macro (0.5.0-1) stable; urgency=medium * detect perl's MULTIPLICITY configuration and adapt function signatures, note that the corresponding parameters have not been used before, and are still unused, so this is not really a breaking change -- Proxmox Support Team Thu, 28 Oct 2021 09:15:14 +0200 rust-perlmod-macro (0.4.1-1) stable; urgency=medium * put `-L./target/debug` first in library path on debug builds * generage bootstrap functions for packages * change generated .pm files to utilize the bootstrap functions * requires perlmod 0.7.2 or higher -- Proxmox Support Team Mon, 25 Oct 2021 10:03:47 +0200 rust-perlmod-macro (0.4.0-1) stable; urgency=medium * drop toml dependency * use CARGO_PKG_NAME environment variable instead of parsing Cargo.toml for it * expand environment variables in lib, name and file attribute of package attributes -- Proxmox Support Team Wed, 13 Oct 2021 11:29:59 +0200 rust-perlmod-macro (0.3.2-1) stable; urgency=medium * add newlines to errors passed to croak_sv -- Proxmox Support Team Wed, 30 Jun 2021 09:46:44 +0200 rust-perlmod-macro (0.3.1-1) stable; urgency=medium * adjust search directory to not contain the module name since there are multiple modules loading the same library -- Proxmox Support Team Mon, 22 Feb 2021 14:13:14 +0100 rust-perlmod-macro (0.3.0-1) stable; urgency=medium * support tuple return types as fixed length 'list' return types in perl * support Result and non-Result variants of all return types -- Proxmox Support Team Tue, 16 Feb 2021 10:41:03 +0100 rust-perlmod-macro (0.2.3-1) stable; urgency=medium * mark the raw export functions as #[doc(hidden)] -- Proxmox Support Team Mon, 15 Feb 2021 14:55:21 +0100 rust-perlmod-macro (0.2.2-1) stable; urgency=medium * introduce 'try_from_ref' parameter attribute -- Proxmox Support Team Mon, 15 Feb 2021 10:36:28 +0100 rust-perlmod-macro (0.2.1-1) stable; urgency=medium * remove `-L./target/debug` from library paths in non-debug-builds -- Proxmox Support Team Fri, 27 Nov 2020 13:05:20 +0100 rust-perlmod-macro (0.2.0-1) stable; urgency=medium * fix `#[export(name = ...)]` to name the actual perl function instead of the rust function * support returning raw non-serialized `Value` types via `#[export(raw_return)]` * support raw non-deserialized parameters via the `#[raw]` * support`&[u8]` parameters by switching to perlmod::from_ref_value for parameters * drop `make_package!` * mark the `newXS` and `__load_shared_lib` functions in the generated perl files as `my sub` and move them into the `BEGIN` block for better namespacing -- Proxmox Support Team Thu, 26 Nov 2020 13:53:49 +0100 rust-perlmod-macro (0.1.0-1) stable; urgency=medium * initial packaging -- Proxmox Support Team Fri, 20 Nov 2020 13:55:25 +0100