Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
cargo build Updating git repository `https://github.com/GuillaumeGomez/sysinfo` Updating crates.io index error: failed to select a version for `libc`. ... required by package `sysinfo v0.16.5 (https://github.com/GuillaumeGomez/sysinfo?branch=mac-cpu-computation#6e339a15)` ... which is depended on by `process_viewer v0.4.8` versions that meet the requirements `^0.2.92` are: 0.2.92 all possible versions conflict with previously selected packages. previously selected package `libc v0.2.74` ... which is depended on by `cairo-rs v0.9.1` ... which is depended on by `gdk v0.13.1` ... which is depended on by `gtk v0.9.1` ... which is depended on by `process_viewer v0.4.8`
For those interested, I think the simplest way to test is to use https://github.com/GuillaumeGomez/process-viewer and to change its sysinfo dependency to { git = "https://github.com/GuillaumeGomez/sysinfo", branch = "mac-cpu-computation" }.
Related posts
- Asking for opinion about new `sysinfo` API
- Sysinfo 0.20.2 just released!
- New sysinfo release (crate to get system information)
- PSA: in most cases, `target_os = "macos"` should NEVER be by itself, `target_os = "macos", target_os = "ios"` is usually better!
- sys_metrics - blazing fast lib to gather host metrics