valpackett / systemstat

Rust library for getting system information | also on https://codeberg.org/valpackett/systemstat

Home Page:https://crates.io/crates/systemstat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why reexport std types?

liigo opened this issue · comments

data.rs:

pub use std::time::Duration;
pub use std::net::{Ipv4Addr, Ipv6Addr};
pub use std::collections::BTreeMap;

yeah, given that the library exports data and doesn't take data from the user, they aren't really necessary

@unrelentingtech - are you looking for a contributor to clean up the pub use std::... pieces? If so, would be happy to help as I plan to use this module in an upcoming project and like to give back when possible

Not really.. ah I should've done this for the 0.2.x version bump. Well, I'll keep this for the next more-interesting API break I guess.