zvariant
D-Bus & GVariant encoding & decoding
5.15.0
75M downloads/mo
#950 most downloaded on crates.io
z-galaxy/zbus
What this package is like to depend on
Last release 5 days ago
18 Aug 2026
Ships fairly regularly
a new release about every 5 weeks
Rarely documented
notes for 11 of 70 stable releases
1 version withdrawn
withdrawn after publishing
7 years old
71 releases · first in 2019
12 releases in the last 12 months
see the full history below
Release timeline
71 releases · Dec 2019 to Aug 2026Releases
latest 60 of 71-
5.15.018 Aug 2026Release notes
Open source →CI
- 💚 Work around nightly rustfmt macro mangling.
Deprecated
- 🗑️ Deprecate GVariant support in zvariant.
Documentation
- 📝 Point GVariant users to the zgvariant crate.
Fixed
- 🐛 Support zvariant_utils/gvariant being enabled externally. #1910
Removed
- 🔥 Remove the gvariant fuzz target.
- 🔥 Remove gvariant benches, ostree tests and test data.
Release notes
Open source →CI
- 💚 Work around nightly rustfmt macro mangling.
Deprecated
- 🗑️ Deprecate GVariant support in zvariant.
Documentation
- 📝 Point GVariant users to the zgvariant crate.
Fixed
- 🐛 Support zvariant_utils/gvariant being enabled externally. #1910
Removed
- 🔥 Remove the gvariant fuzz target.
- 🔥 Remove gvariant benches, ostree tests and test data.
-
5.14.009 Aug 2026Release notes
Open source →Changed
- ♻️ Use zcheapstr for the Str type.
- ♻️ Remove unnecessary clones.
Dependencies
- ➕ Add zcheapstr dependency. It's actually just a split.
Fixed
- 🐛 insert tail padding to fixed-sized dictionary entry.
- 🐛 insert tail padding to fixed-sized struct.
Testing
- ✅ Add test case for
a{uy}encoding. - ✅ Add test case for
(uy)encoding.
Release notes
Open source →Changed
- ♻️ Use zcheapstr for the Str type.
- ♻️ Remove unnecessary clones.
Dependencies
- ➕ Add zcheapstr dependency. It's actually just a split.
Fixed
- 🐛 insert tail padding to fixed-sized dictionary entry.
- 🐛 insert tail padding to fixed-sized struct.
Testing
- ✅ Add test case for
a{uy}encoding. - ✅ Add test case for
(uy)encoding.
-
5.13.117 Jul 2026 -
5.13.007 Jul 2026Release notes
Open source →Dependencies
- ⬆️ Update libfuzzer-sys to v0.4.13 (#1815).
Fixed
- 🐛 Don't double-wrap variant-typed fields in as_value. #1819
Testing
- ✅ Cover nested a{sv}-in-a{sv} in nested_dict_value test.
- ✅ Add test case for
ambencoding (GVariant only).
-
5.12.029 May 2026Release notes
Open source →Dependencies
- ⬆️ Bump zvariant_utils requirement to 3.4.
Documentation
- 📝 Document D-Bus FD encoding on
Fd. - 📝 Show catch-all enum variant in docs.
Other
- 🦺 Add 2 debug asserts.
Performance
- ⚡️ Use Fields::get(i) for O(1) field signature lookup.
-
5.11.003 May 2026Release notes
Open source →Added
- ✨ Support nested dictionaries in *Dict derives. #312
Fixed
- 🐛 Accept ObjectPath/Signature as map identifier keys.
-
5.10.126 Apr 2026 -
5.10.022 Feb 2026Release notes
Open source →Added
- ✨ Implement Basic for more types. #1681
Changed
- 🚚 Rename an internal macro.
Dependencies
- ⬆️ Update libfuzzer-sys to v0.4.12 (#1709).
Fixed
- 🐛 Encode bool as single byte in GVariant.
Testing
- ✅ Add test case for bool encoding.
-
5.9.218 Jan 2026 -
5.9.110 Jan 2026Release notes
Open source →Other
- 🤖 release-plz: Fix formatting of CHANGELOG files.
- 🤖 release-plz: Use the default header in changelog.
-
5.9.009 Jan 2026Release notes
Open source →Added
- ✨ Implement
TryFrom<&Value>for tuples. - ✨ Add signature! macro for compile-time validation. #984
Changed
- 🎨 Format all files (rust 1.85).
- ♻️ Use signature! macro in tests.
Dependencies
- ⬆️ Update endi to v1.1.1 (#1583).
Fixed
- 🐛 Don't impl Type for dicts with non-basic keys. #1637
Other
- 🧱 Fix all clippy warnings (rust 1.85).
- 🧑💻 Bump rust version to 1.85.
- 🚸 Implement
to_string_lossyforFilePath.
Testing
- ✅ Remove unused imports from tests.
- ✨ Implement
-
5.8.015 Oct 2025Nothing published for this version
-
5.7.024 Aug 2025Nothing published for this version
-
5.6.007 Jul 2025Nothing published for this version
-
5.5.313 May 2025Nothing published for this version
-
5.5.213 May 2025Nothing published for this version
-
5.5.103 May 2025Nothing published for this version
-
5.5.003 May 2025 withdrawnNothing published for this version
-
5.4.007 Feb 2025Nothing published for this version
-
5.3.005 Feb 2025Nothing published for this version
-
5.2.010 Jan 2025Nothing published for this version
-
5.1.002 Nov 2024Nothing published for this version
-
5.0.121 Oct 2024Nothing published for this version
-
5.0.017 Oct 2024Nothing published for this version
-
4.2.019 Jul 2024Nothing published for this version
-
4.1.229 Jun 2024Nothing published for this version
-
4.1.120 May 2024Nothing published for this version
-
4.1.009 May 2024Nothing published for this version
-
4.0.330 Apr 2024Nothing published for this version
-
4.0.225 Feb 2024Nothing published for this version
-
4.0.123 Feb 2024Nothing published for this version
-
4.0.012 Feb 2024Nothing published for this version
-
3.15.225 Feb 2024Nothing published for this version
-
3.15.123 Feb 2024Nothing published for this version
-
3.15.028 Jun 2023Nothing published for this version
-
3.14.015 May 2023Nothing published for this version
-
3.13.012 May 2023Nothing published for this version
-
3.12.007 Mar 2023Nothing published for this version
-
3.11.011 Feb 2023Nothing published for this version
-
3.10.004 Jan 2023Nothing published for this version
-
3.9.004 Dec 2022Nothing published for this version
-
3.8.015 Nov 2022Nothing published for this version
-
3.7.130 Sep 2022Nothing published for this version
-
3.7.029 Sep 2022Nothing published for this version
-
3.6.024 Jul 2022Nothing published for this version
-
3.5.024 Jul 2022Nothing published for this version
-
3.4.122 Jun 2022Nothing published for this version
-
3.4.022 Jun 2022Nothing published for this version
-
3.3.118 Jun 2022Nothing published for this version
-
3.3.012 Jun 2022Nothing published for this version
-
3.2.113 May 2022Nothing published for this version
-
3.2.001 May 2022Nothing published for this version
-
3.1.227 Jan 2022Nothing published for this version
-
3.1.122 Jan 2022Nothing published for this version
-
3.1.017 Jan 2022Nothing published for this version
-
3.0.019 Dec 2021Nothing published for this version
-
2.10.021 Nov 2021Nothing published for this version
-
2.9.029 Sep 2021Nothing published for this version
-
2.8.030 Jul 2021Nothing published for this version
-
2.7.012 Jun 2021Nothing published for this version