{
"name": "printobserver-server",
"root": "crates/printobserver-server",
"projectType": "library",
"tags": [
"lang:rust",
"type:composition-root"
],
"implicitDependencies": [
"printobserver-core",
"printobserver-obico",
"printobserver-octoprint",
"printobserver-oneharness",
"printobserver-panels",
"printobserver-printer-api",
"printobserver-store-sqlite",
"printobserver-supervisor-api",
"printobserver-types",
"printobserver-vision-api"
],
"targets": {
"format": {
"command": "cargo fmt -p printobserver-server"
},
"format-check": {
"command": "cargo fmt -p printobserver-server -- --check"
},
"lint": {
"command": "cargo clippy -p printobserver-server --all-targets --features operator-harness --locked -- -D warnings"
},
"test": {
"command": "bash -c 'if [ \"${OS:-}\" = Windows_NT ]; then export LLVM_PROFILE_FILE_NAME=printobserver-server-%p-%m.profraw; fi; exec cargo llvm-cov nextest -p printobserver-server --features test-responder --no-report --no-tests=pass -E \"not binary(integration) and not binary(check_delay_budget)\"'",
"outputs": ["{projectRoot}/telemetry"]
},
"build": {
"command": "cargo build -p printobserver-server --locked"
},
"test-integration": {
"command": "cargo nextest run -p printobserver-server --features test-responder --no-fail-fast -E \"binary(integration)\""
},
"compile-integration": {
"command": "cargo nextest run -p printobserver-server --features test-responder --no-run"
},
"budgets": {
"command": "bunx onebudgetspec check crates/printobserver-server/budgets.yaml",
"dependsOn": ["test"],
"cache": false
}
}
}