3 releases

0.0.3 Jul 4, 2023
0.0.2 Jun 30, 2023
0.0.1 Jun 29, 2023

#266 in HTTP server

AGPL-3.0-or-later

34KB
681 lines

crates.io link documentation

sysinfo-http

sysinfo-http used to get a system's information through http.

Supported OSes

It currently supports the following OSes (alphabetically sorted):

  • Linux
  • Raspberry Pi
  • Rockchip-BSP
  • Windows

You can still run a sysinfo-http server on non-supported OSes, it'll simply do nothing and always return empty values. You can check in your browser directly if an OS is supported by run the server then:

curl -X GET '127.0.0.1:8000/support'

The minimum-supported version of rustc is 1.59.

Usage

cargo install sysinfo-http
sysinfo-http --help

API

See API.md

Build

git clone https://github.com/rainbowflesh/sysinfo-http.git
cd sysinfo-info
cargo build

Run in develop

cargo run -- --help

Test

cargo test
# or use nextest
cargo nextest run --no-capture

Contribute

WIP

Dependencies

~35–72MB
~1M SLoC