Skip to content

Commit

Permalink
Reduce dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
iovxw committed Mar 8, 2024
1 parent 3eb1217 commit f12a2a5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,12 @@ async-io = [
"dep:async-executor",
"dep:futures-lite",
"dep:futures-channel",
"dep:futures-util",
"zbus/async-io",
]

[dependencies]
thiserror = "1"
futures = { version = "0.3", default-features = false }
futures-util = "0.3"
zbus = { version = "4", default-features = false }
serde = { version = "1", features = ["derive"] }

Expand All @@ -35,4 +34,3 @@ async-io = { version = "2", optional = true }
async-executor = { version = "1", optional = true }
futures-lite = { version = "2", optional = true }
futures-channel = { version = "0.3", optional = true }
futures-util = { version = "0.3", optional = true }
2 changes: 1 addition & 1 deletion src/compat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub mod mpsc {

#[cfg(feature = "async-io")]
pub mod mpsc {
use futures::StreamExt;
use futures_util::StreamExt;

pub use futures_channel::mpsc::TrySendError as SendError;

Expand Down
2 changes: 1 addition & 1 deletion src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::collections::HashMap;
use std::hash::{Hash, Hasher};
use std::sync::atomic::{AtomicUsize, Ordering};

use futures::stream::StreamExt;
use futures_util::StreamExt;
use zbus::fdo::DBusProxy;
use zbus::zvariant::{OwnedValue, Str};
use zbus::Connection;
Expand Down

0 comments on commit f12a2a5

Please sign in to comment.