Skip to content

Commit

Permalink
implement CPU, disk and load average functions
Browse files Browse the repository at this point in the history
  • Loading branch information
maxblan committed Mar 9, 2024
0 parents commit ad7e04c
Show file tree
Hide file tree
Showing 10 changed files with 783 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
target
index.node
**/node_modules
**/.DS_Store
npm-debug.log*
325 changes: 325 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[package]
name = "sys-info-node"
version = "0.1.0"
description = "A wrapper for the sys-info crate for node."
authors = ["maxblan"]
license = "MIT"
edition = "2021"
exclude = ["index.node"]

[lib]
crate-type = ["cdylib"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
neon = "1"
sysinfo = "0.30.7"
Loading

0 comments on commit ad7e04c

Please sign in to comment.