Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/badboy/whatsys
https://github.com/badboy/whatsys
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/badboy/whatsys
- Owner: badboy
- License: mit
- Created: 2021-03-10T11:48:43.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-25T16:14:08.000Z (12 months ago)
- Last Synced: 2024-12-24T02:01:40.410Z (12 days ago)
- Language: Rust
- Homepage:
- Size: 18.6 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `whatsys` -- What's this?
[![Crates.io version](https://img.shields.io/crates/v/whatsys.svg?style=flat-square)](https://crates.io/crates/whatsys)
[![docs.rs docs](https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square)](https://docs.rs/whatsys)
[![License: MIT](https://img.shields.io/github/license/badboy/whatsys?style=flat-square)](LICENSE)
[![Build Status](https://img.shields.io/github/actions/workflow/status/badboy/whatsys/ci.yml?branch=main&style=flat-square)](https://github.com/badboy/whatsys/actions/workflows/ci.yml?query=workflow%3ACI)What kernel version is running?
# Example
```rust
let kernel = whatsys::kernel_version(); // E.g. Some("20.3.0")
```# Supported operating systems
We support the following operating systems:
* Windows
* macOS
* Linux
* Android# License
MIT. See [LICENSE](LICENSE).
Based on:
* [sys-info](https://crates.io/crates/sys-info), [Repository](https://github.com/FillZpp/sys-info-rs), [MIT LICENSE][sys-info-mit]
* [sysinfo](https://crates.io/crates/sysinfo), [Repository](https://github.com/GuillaumeGomez/sysinfo), [MIT LICENSE][sysinfo-mit][sys-info-mit]: https://github.com/FillZpp/sys-info-rs/blob/master/LICENSE
[sysinfo-mit]: https://github.com/GuillaumeGomez/sysinfo/blob/master/LICENSE