feat: port pneumatube to Rust on fumi-core
This commit is contained in:
parent
5dda6567af
commit
65d52bd0e9
37 changed files with 4232 additions and 1912 deletions
36
devbox.json
36
devbox.json
|
|
@ -1,18 +1,38 @@
|
|||
{
|
||||
"packages": [
|
||||
"rustc@latest",
|
||||
"cargo@latest",
|
||||
"gcc@latest",
|
||||
"cargo-audit@latest",
|
||||
"python313@latest",
|
||||
"uv@latest"
|
||||
],
|
||||
"shell": {
|
||||
"init_hook": [
|
||||
"uv sync"
|
||||
],
|
||||
"scripts": {
|
||||
"sync": ["uv sync"],
|
||||
"test": ["uv run pytest"],
|
||||
"run": ["uv run pneumatube"],
|
||||
"stress": ["uv run python scripts/stress_test.py"],
|
||||
"security": ["uv run python scripts/security_test.py"]
|
||||
"build": [
|
||||
"cargo build --release"
|
||||
],
|
||||
"test": [
|
||||
"cargo test"
|
||||
],
|
||||
"check": [
|
||||
"cargo check --workspace && cargo clippy --workspace && cargo fmt --check"
|
||||
],
|
||||
"run": [
|
||||
"cargo run --release"
|
||||
],
|
||||
"stress": [
|
||||
"cargo build --release && uv run scripts/stress_test.py --target direct"
|
||||
],
|
||||
"stress-postfix": [
|
||||
"cargo build --release && uv run scripts/stress_test.py --target postfix"
|
||||
],
|
||||
"security": [
|
||||
"cargo build --release && uv run scripts/security_test.py"
|
||||
],
|
||||
"audit-deps": [
|
||||
"cargo audit"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue