svartalf

Results 64 issues of 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...

This is a tracking issue for NetBSD support.

C-enhancement
O-netbsd
A-battery

This is a tracking issue for OpenBSD support.

C-enhancement
O-openbsd
A-battery

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:...

C-enhancement
O-linux
A-battery

[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...

C-enhancement
A-battery
A-battery-ffi

This is a tracking issue for Solaris support.

C-enhancement
A-battery
O-solaris

`battery-ffi` crate is using `crate-type=cdylib` for builds, which is incompatible with musl targets.

O-linux
A-battery-ffi

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...

C-enhancement
O-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...

enhancement
help wanted

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...