init commit

This commit is contained in:
2021-12-19 12:24:23 +08:00
parent 084e7e44fc
commit a4466eefaa
3 changed files with 16 additions and 0 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
.idea/
# ---> Rust # ---> Rust
# Generated by Cargo # Generated by Cargo
# will have compiled files and executables # will have compiled files and executables

10
Cargo.toml Normal file
View File

@@ -0,0 +1,10 @@
[package]
name = "host-mon"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
reqwest = "0.11.7"
tokio = { version = "1.15.0", features = ["full"] }

5
src/main.rs Normal file
View File

@@ -0,0 +1,5 @@
#[tokio::main]
async fn main() {
// TODO get system info and record to SLS
}