Skip to content

Commit

Permalink
🩹 Fix some unused imports for non-unix target
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeeshan Ali Khan committed Feb 10, 2024
1 parent 9140b2a commit 2339bea
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tests/fdo.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#[cfg(unix)]
use std::env::temp_dir;

use anyhow::ensure;
use busd::bus::Bus;
use futures_util::stream::StreamExt;
use ntest::timeout;
#[cfg(unix)]
use rand::{
distributions::{Alphanumeric, DistString},
thread_rng,
Expand Down
5 changes: 4 additions & 1 deletion tests/greet.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
use std::{env::temp_dir, time::Duration};
#[cfg(unix)]
use std::env::temp_dir;
use std::time::Duration;

use anyhow::anyhow;
use busd::bus::Bus;
use futures_util::{pin_mut, stream::StreamExt};
use ntest::timeout;
#[cfg(unix)]
use rand::{
distributions::{Alphanumeric, DistString},
thread_rng,
Expand Down
2 changes: 2 additions & 0 deletions tests/multiple_conns.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#[cfg(unix)]
use std::env::temp_dir;

use busd::bus::Bus;
use futures_util::future::join_all;
use ntest::timeout;
#[cfg(unix)]
use rand::{
distributions::{Alphanumeric, DistString},
thread_rng,
Expand Down

0 comments on commit 2339bea

Please sign in to comment.