svartalf
svartalf
`Quantity::new` method can panic if conversion into the base unit fails. E.g. with this code, where `Information` quantity is backed by a `u64` type ``` let value = kbytes.parse::()?; let...
Current Linux implementation is probing multiple files in order to fetch one specific value; for example, in order to get the `design voltage` parameter, four files will be opened consequently:...
[This](https://github.com/svartalf/rust-battop/issues/8) `battop` issue had introduced the case, when the `Battery` struct instance can represent the missing device. While it is possible now to handle that case (see #29), this kind...
`battery-ffi` crate is using `crate-type=cdylib` for builds, which is incompatible with musl targets.
This is a tracking issue for Windows support. Main problem is that [termion](https://crates.io/crates/termion) backend for [tui](https://crates.io/crates/tui) dependency does not support Windows terminals. Another option for tui - [crossterm](https://crates.io/crates/crossterm) supports Windows...
There was a suggestion by `pie-flavor` from Rust Discord to add that kind of macro: ```rust macro_rules! assert_downcast { ($e:expr as $t:ty) => { $e.downcast::().unwrap_or_else(|e| panic!(concat!("Expected ", stringify!($t), ", got...
I have a program which is requiring `CAP_NET_RAW` capability to run and this capability is not respected when `kcov` is trying to get coverage. ``` $ kcov --version kcov 33...