No description
|
Some checks failed
Build macOS Release / build-macos (macos-amd64, x86_64-apple-darwin) (push) Waiting to run
Build macOS Release / build-macos (macos-arm64, aarch64-apple-darwin) (push) Waiting to run
Build and Test / build-test (push) Failing after 3s
Build Linux Release / build-linux (linux-arm64, true, aarch64-unknown-linux-gnu) (push) Failing after 12s
Build Linux Release / build-linux (linux-amd64, false, x86_64-unknown-linux-musl) (push) Failing after 14s
- Admin API: erase all data (clear_all), detailed per-table stats (table_sizes) - Two populate presets: Small (100 SN + 10K edges), Big (100 SN + 1M edges) - Real-time progress tracking during populate via polling endpoint - Phase timing breakdown in populate results (6 phases with ms) - Graph node limit: cap D3.js visualization at 1000 nodes max - Stats UI: per-table record counts, data size, disk file size - Erase button with confirm dialog - Untrack data/routing.redb and add proper .gitignore Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .github/workflows | ||
| schemas | ||
| scripts | ||
| src | ||
| static | ||
| templates | ||
| tests | ||
| .gitignore | ||
| buildenv.sh | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Makefile | ||
| openrpc.json | ||
| README.md | ||
my_server
A HeroLib-based HTTP server built with Rust 1.92+ and Edition 2024.
Quick Start
Prerequisites
- Rust 1.92+ (https://rustup.rs)
- Git
- Make
Build & Run
# Development mode (debug)
make rundev
# Release mode
make run
Test the server:
curl http://localhost:2918/health | jq
Available Make Targets
make build- Build release binarymake rundev- Run in development mode (with debug logs)make run- Run release binarymake test- Run all testsmake clean- Clean build artifactsmake check- Run cargo checkmake fmt- Format code with rustfmtmake clippy- Run clippy linter
Project Structure
.
├── Cargo.toml # Dependencies (HeroLib packages)
├── buildenv.sh # Build environment configuration
├── Makefile # Build system targets
├── src/
│ └── main.rs # Server entry point
├── schemas/
│ └── models.oschema # OSchema type definitions
└── .github/
└── workflows/
└── ci.yml # GitHub Actions CI/CD
Dependencies
This project uses HeroLib core packages:
- herolib-core - Core types and utilities
- herolib-web - Axum HTTP framework integration
- herolib-osis - Object storage with SmartID
- herolib-os - OS abstractions