valpackett / systemstat

Rust library for getting system information | also on https://codeberg.org/valpackett/systemstat
https://crates.io/crates/systemstat
The Unlicense
610 stars 71 forks source link

update: replace chrono with time library #107

Closed Velfi closed 2 years ago

Velfi commented 2 years ago

This PR replaces the chrono dependency with time. The current version of the chrono crate (v0.4.19) depends on an old version of the time crate (v0.1.43) that can segfault under certain conditions. Since chrono is currently unmaintained, it has been replaced with a version of the time crate (v0.3.9) that does not expose users to possible segfaults.

valpackett commented 2 years ago

Thanks!! approved CI, looks like linux needs a fix..

Velfi commented 2 years ago

@unrelentingtech oops. I just pushed a fix

valpackett commented 2 years ago

Thanks a lot, I'll release a version 0.2 soon.