#neofetch #info #system-info

libfetch

Simple but reliable library for fetch tools

1 unstable release

0.1.0 Apr 28, 2022

#5 in #sysinfo

MIT license

13KB
331 lines

logo

libfetch

Simple but reliable library for fetch tools written in Rust 🦀.

Note: it is experimental and early version of crate

Overview

It's hard to create a cool fetch tool for Linux, so this library tries to simplify the process. The library does not call any other programs, such as "uname -n" or "uptime". It tries to fetch the operating system information in a more reliable way.

Goals

  • avoid unsafe blocks (but not always possible);
  • avoid calling external programs;
  • multiplatform;
  • simple API;

To-Do

  • write tests
  • add support for Windows and handle unknown OS

Alternatives

Dependencies

~0.5–7.5MB
~59K SLoC