gardesk/gartop / 9c4da63

Browse files

Export TempCollector, remove unused ProcessNetStats

Authored by espadonne
SHA
9c4da63c9fc0e4a8f2f52509c37053909ecce7ad
Parents
f1d25b2
Tree
19fc39f

1 changed file

StatusFile+-
M gartop/src/collector/mod.rs 4 2
gartop/src/collector/mod.rsmodified
@@ -1,6 +1,6 @@
11
 //! System data collectors
22
 //!
3
-//! Collects CPU, memory, process, network, and disk data from procfs.
3
+//! Collects CPU, memory, process, network, disk, and temperature data from procfs/sysfs.
44
 
55
 mod cpu;
66
 mod disk;
@@ -9,6 +9,7 @@ mod memory;
99
 mod network;
1010
 mod process;
1111
 mod socket;
12
+mod temperature;
1213
 
1314
 pub use cpu::CpuCollector;
1415
 pub use disk::DiskCollector;
@@ -16,4 +17,5 @@ pub use history::History;
1617
 pub use memory::MemoryCollector;
1718
 pub use network::NetworkCollector;
1819
 pub use process::ProcessCollector;
19
-pub use socket::{SocketCollector, ProcessNetStats};
20
+pub use socket::SocketCollector;
21
+pub use temperature::TempCollector;