summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorClementTsang <34804052+ClementTsang@users.noreply.github.com>2022-11-20 03:22:22 -0500
committerClementTsang <34804052+ClementTsang@users.noreply.github.com>2022-11-20 03:22:22 -0500
commitdd4b19866d77c57b2d0fd578242b644b6bbcdc43 (patch)
tree10610ad367bcb50f5a77d1e36f82f696c7bb10af /src
parentabff6e4a7a37ab17c10ed00fb254da504a121cfc (diff)
other: update Debian extended description
Diffstat (limited to 'src')
-rw-r--r--src/app/data_harvester.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app/data_harvester.rs b/src/app/data_harvester.rs
index c85f1b41..25913077 100644
--- a/src/app/data_harvester.rs
+++ b/src/app/data_harvester.rs
@@ -3,10 +3,13 @@
use std::time::Instant;
use futures::join;
+
#[cfg(target_os = "linux")]
use fxhash::FxHashMap;
+
#[cfg(feature = "battery")]
use starship_battery::{Battery, Manager};
+
#[cfg(not(target_os = "linux"))]
use sysinfo::{System, SystemExt};