VNOX-Client/patches/changes/zbus-lockstep-macros.patch
loki5512344 8e5ab56611
feat(client): redesign native UI, themes, settings and avatars
Separate conversation drafts and voice view state, add native settings and restricted CSS themes, implement validated avatar cropping, and refresh dependencies with documented desktop compatibility backports.
2026-10-24 14:23:48 +02:00

42 lines
1.1 KiB
Diff

--- a/zbus-lockstep-macros/Cargo.toml
+++ b/zbus-lockstep-macros/Cargo.toml
@@ -56,10 +56,13 @@
version = "0.5.2"
[dependencies.zbus_xml]
-version = "5.0.2"
+version = "6"
-[dependencies.zvariant]
-version = "5.1"
[dev-dependencies.version-sync]
version = "0.9"
+
+[dependencies.zbus]
+version = "6.1"
+default-features = false
+features = ["default-rt", "proxy", "service", "object-manager"]
--- a/zbus-lockstep-macros/src/lib.rs
+++ b/zbus-lockstep-macros/src/lib.rs
@@ -86,9 +86,9 @@
/// # Examples
///
/// ```rust
-/// use zvariant::OwnedObjectPath;
+/// use zbus::wire::OwnedObjectPath;
/// use zbus_lockstep_macros::validate;
-/// use zvariant::Type;
+/// use zbus::wire::Type;
///
/// #[validate(xml: "xml", interface: "org.example.Node", signal: "RemoveNode")]
/// #[derive(Type)]
@@ -258,7 +258,7 @@
#[cfg(test)]
#[test]
fn #test_name() {
- use zvariant::Type;
+ use zbus::wire::Type;
let xml_file = std::fs::File::open(#xml_file_path).expect("\"#xml_file_path\" expected to be a valid file path." );
let item_signature_from_xml = zbus_lockstep::get_signal_body_type(