sysinfo-http
used to get a system's information through http.
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.
cargo install sysinfo-http
sysinfo-http --help
See API.md
git clone https://github.com/rainbowflesh/sysinfo-http.git
cd sysinfo-info
cargo build
cargo build --target armv7-unknown-linux-gnueabihf
cargo build --target aarch64-unknown-linux-gnu
# or use cross-rs
cross build --target armv7-unknown-linux-gnueabihf
cross build --target aarch64-unknown-linux-gnu
Notice: Minimal GCC is
8.3.0
.
cargo run -- --help
cargo test
# or use nextest
cargo nextest run --no-capture
WIP