Skip to content

Commit

Permalink
Merge branch 'main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Icelain authored Jul 23, 2024
2 parents 63fe540 + a677193 commit a5c8409
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Rust

on:
push:
branches: [ "dev" ]
pull_request:
branches: [ "main" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ A small rust library to fetch system information on linux

# Installation

Add ``` rin-sys = "0.1.2" ``` to your Cargo.toml
Add ``` rin-sys = "0.1.3" ``` to your Cargo.toml

# Base structs

Expand All @@ -28,7 +28,7 @@ pub struct RamInfo {
pub struct CpuInfo {
pub cache_size: String,
pub cores: usize,
pub cpu_speed: String,
pub cpu_speed: Vec<(usize, f64)>,
pub model_name: String,
pub vendor_id: String,
pub is_fpu: bool,
Expand Down

0 comments on commit a5c8409

Please sign in to comment.