Compare commits

..

No commits in common. "5a9bf795e9297070a4155f007f4b93ca825b9af1" and "28f0eb53f690f82240ce345a57082a4e8768b4e0" have entirely different histories.

34 changed files with 22 additions and 38 deletions

2
.gitignore vendored
View File

@ -1,4 +1,6 @@
/target /target
.idea .idea
Dockerfile
Cargo.lock Cargo.lock
settings.json
hagent_test.sock hagent_test.sock

View File

@ -1,12 +1,24 @@
[workspace] [package]
resolver = "2" name = "runner-rs"
members = [ version = "0.10.11"
"noxis-rs", edition = "2021"
"noxis-cli",
]
[profile.dev] [profile.dev]
debug = true debug = true
[profile.test] [profile.test]
debug = false debug = false
[dependencies]
anyhow = "1.0.93"
chrono = "0.4.38"
clap = { version = "4.5.21", features = ["derive"] }
env_logger = "0.11.3"
inotify = "0.10.2"
log = "0.4.22"
pcap = "2.2.0"
redis = "0.25.4"
serde = { version = "1.0.203", features = ["derive"] }
serde_json = "1.0.118"
sysinfo = "0.32.0"
tokio = { version = "1.38.0", features = ["full", "time"] }

View File

@ -1,5 +1,5 @@
# Monitor "Noxis" ( with amd64 and riscv64 support ) # runner-rs ( with amd64 and riscv64 support )
![Logo](https://blog.desdelinux.net/wp-content/uploads/2023/07/rust-logo.png) ![Logo](https://blog.desdelinux.net/wp-content/uploads/2023/07/rust-logo.png)
in-container integrating util to handle processes runtime in-container integrating util to handle processes runtime
@ -8,9 +8,6 @@ in-container integrating util to handle processes runtime
- `rustup (>=1.27.1)` - `rustup (>=1.27.1)`
- `gcc-riscv64-unknown-elf` - `gcc-riscv64-unknown-elf`
- `build-essential` - `build-essential`
- `gcc-riscv64-linux-gnu`
- `binutils-riscv64-linux-gnu`
## Setting up ## Setting up
Download and execute rustup.sh Download and execute rustup.sh
@ -32,7 +29,7 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
cd runner-rs/ && rustup target add riscv64gc-unknown-linux-gnu && rustup target add x86_64-unknown-linux-gnu cd runner-rs/ && rustup target add riscv64gc-unknown-linux-gnu && rustup target add x86_64-unknown-linux-gnu
~~~ ~~~
> [!NOTE] > [!NOTE]
> Cargo is configured to build an app for amd64/linux defaultly. RISCV-based compilation is optional. > Cargo is configured to build an app for amd64/linux defaultly. RISC-based compilation is optional.
3.1. Release build of app for amd64/linux 3.1. Release build of app for amd64/linux

View File

@ -1,6 +0,0 @@
[package]
name = "noxis-cli"
version = "0.1.0"
edition = "2021"
[dependencies]

View File

@ -1,3 +0,0 @@
fn main() {
println!("Hello, world!");
}

View File

@ -1,18 +0,0 @@
[package]
name = "noxis-rs"
version = "0.10.11"
edition = "2021"
[dependencies]
anyhow = "1.0.93"
chrono = "0.4.38"
clap = { version = "4.5.21", features = ["derive"] }
env_logger = "0.11.3"
inotify = "0.10.2"
log = "0.4.22"
pcap = "2.2.0"
redis = "0.25.4"
serde = { version = "1.0.203", features = ["derive"] }
serde_json = "1.0.118"
sysinfo = "0.32.0"
tokio = { version = "1.38.0", features = ["full", "time"] }