systemstat icon indicating copy to clipboard operation
systemstat copied to clipboard

Why reexport std types?

Open liigo opened this issue 5 years ago • 3 comments

data.rs:

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

liigo avatar Jul 10 '20 06:07 liigo

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

valpackett avatar Jul 10 '20 10:07 valpackett

@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

dblclik avatar Oct 18 '22 00:10 dblclik

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.

valpackett avatar Oct 18 '22 00:10 valpackett