Compare commits
2 Commits
28f0eb53f6
...
5a9bf795e9
| Author | SHA1 | Date |
|---|---|---|
|
|
5a9bf795e9 | |
|
|
d67e77c5cc |
|
|
@ -1,6 +1,4 @@
|
|||
/target
|
||||
.idea
|
||||
Dockerfile
|
||||
Cargo.lock
|
||||
settings.json
|
||||
hagent_test.sock
|
||||
24
Cargo.toml
24
Cargo.toml
|
|
@ -1,24 +1,12 @@
|
|||
[package]
|
||||
name = "runner-rs"
|
||||
version = "0.10.11"
|
||||
edition = "2021"
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
members = [
|
||||
"noxis-rs",
|
||||
"noxis-cli",
|
||||
]
|
||||
|
||||
[profile.dev]
|
||||
debug = true
|
||||
|
||||
[profile.test]
|
||||
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"] }
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
# runner-rs ( with amd64 and riscv64 support )
|
||||
# Monitor "Noxis" ( with amd64 and riscv64 support )
|
||||

|
||||
in-container integrating util to handle processes runtime
|
||||
|
||||
|
|
@ -8,6 +8,9 @@ in-container integrating util to handle processes runtime
|
|||
- `rustup (>=1.27.1)`
|
||||
- `gcc-riscv64-unknown-elf`
|
||||
- `build-essential`
|
||||
- `gcc-riscv64-linux-gnu`
|
||||
- `binutils-riscv64-linux-gnu`
|
||||
|
||||
|
||||
## Setting up
|
||||
Download and execute rustup.sh
|
||||
|
|
@ -29,7 +32,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
|
||||
~~~
|
||||
> [!NOTE]
|
||||
> Cargo is configured to build an app for amd64/linux defaultly. RISC-based compilation is optional.
|
||||
> Cargo is configured to build an app for amd64/linux defaultly. RISCV-based compilation is optional.
|
||||
|
||||
3.1. Release build of app for amd64/linux
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,6 @@
|
|||
[package]
|
||||
name = "noxis-cli"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
[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"] }
|
||||
Loading…
Reference in New Issue