--- a/accesskit_atspi_common/Cargo.toml +++ b/accesskit_atspi_common/Cargo.toml @@ -57,6 +57,8 @@ [dependencies.serde] version = "1.0" -[dependencies.zvariant] -version = "5.4" + +[dependencies.zbus] +version = "6.1" default-features = false +features = ["default-rt", "proxy", "service", "object-manager"] --- a/accesskit_atspi_common/src/action.rs +++ b/accesskit_atspi_common/src/action.rs @@ -4,7 +4,7 @@ // the LICENSE-MIT file), at your option. use serde::{Deserialize, Serialize}; -use zvariant::Type; +use zbus::wire::Type; #[derive(Deserialize, Serialize, Type)] pub struct Action { --- a/accesskit_atspi_common/src/rect.rs +++ b/accesskit_atspi_common/src/rect.rs @@ -4,7 +4,7 @@ // the LICENSE-MIT file), at your option. use serde::{Deserialize, Serialize}; -use zvariant::{OwnedValue, Type, Value}; +use zbus::wire::{OwnedVariant as OwnedValue, Type, Variant as Value}; #[derive( Clone, Copy, Debug, Default, PartialEq, Eq, Serialize, Deserialize, OwnedValue, Type, Value,