1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-23 05:12:40 +03:00

fix unix build for zbus updates

This commit is contained in:
Wez Furlong 2021-12-27 10:33:41 -07:00
parent 7e90a7008c
commit ae9a47e8a6
3 changed files with 6 additions and 32 deletions

33
Cargo.lock generated
View File

@ -4896,7 +4896,7 @@ dependencies = [
"windows",
"xml-rs",
"zbus",
"zvariant 2.10.0",
"zvariant",
]
[[package]]
@ -5202,7 +5202,7 @@ dependencies = [
"static_assertions",
"zbus_macros",
"zbus_names",
"zvariant 3.0.0",
"zvariant",
]
[[package]]
@ -5226,7 +5226,7 @@ checksum = "ae1f142d242d6854815a8c5c2aea83d9508f72f5757d0a137c21ef4b07bfee66"
dependencies = [
"serde",
"static_assertions",
"zvariant 3.0.0",
"zvariant",
]
[[package]]
@ -5258,19 +5258,6 @@ dependencies = [
"libc",
]
[[package]]
name = "zvariant"
version = "2.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a68c7b55f2074489b7e8e07d2d0a6ee6b4f233867a653c664d8020ba53692525"
dependencies = [
"byteorder",
"libc",
"serde",
"static_assertions",
"zvariant_derive 2.10.0",
]
[[package]]
name = "zvariant"
version = "3.0.0"
@ -5282,19 +5269,7 @@ dependencies = [
"libc",
"serde",
"static_assertions",
"zvariant_derive 3.0.0",
]
[[package]]
name = "zvariant_derive"
version = "2.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e4ca5e22593eb4212382d60d26350065bf2a02c34b85bc850474a74b589a3de9"
dependencies = [
"proc-macro-crate",
"proc-macro2",
"quote",
"syn",
"zvariant_derive",
]
[[package]]

View File

@ -14,7 +14,7 @@ log = "0.4"
[target.'cfg(all(not(windows), not(target_os="macos")))'.dependencies]
serde = {version="1.0", features = ["derive"]}
zbus = "2.0.0-beta.7"
zvariant = "2.0"
zvariant = "3.0"
async-std = "1.4"
futures-util = "0.3"

View File

@ -6,8 +6,7 @@ use futures_util::stream::{abortable, StreamExt};
use serde::{Deserialize, Serialize};
use std::collections::HashMap;
use zbus::dbus_proxy;
use zvariant::derive::Type;
use zvariant::Value;
use zvariant::{Type, Value};
#[derive(Debug, Type, Serialize, Deserialize)]
pub struct ServerInformation {