zbus-old
zbus-old copied to clipboard
zvariant: Support std::num::NonZero* types and std::time::Duration
In GitLab by @sophie-h on May 9, 2023, 01:21
If by support you mean Type impl, we already support time::Duration at least. You need to enable time feature though.
In GitLab by @sophie-h on May 9, 2023, 01:35
But I don't have any need to use time instead of std
Ah gotcha. Sorry, your issue came super late at night. 😀
This should be quite trivial actually. Care to contribute? Just check how serde serializes those types and do a impl for them based on that, in the file I linked previously.