Decision Workspace
hunyi vs xuanji vs louke
Side-by-side comparison of Rust crates
渾儀 (Hunyi) — Tianheng's semantic (AST/syn) observation dimension, the complement of the static import boundary. Declare in Rust how a module's public surface must behave: what its API must not expose (types — including named public re-exports and, opt-in, a trait impl's impl-site positions — and no dyn / impl Trait or async fn seam), where a trait may be implemented, that it declares no bare pub, and which markers a type must not acquire — observed via syn, reacted in CI. The heavy syn dependency is quarantined here, never in the core.
璇璣 (Xuanji) — the shared reaction model of Tianheng: Severity, Violation, Report, Baseline, and Outcome — the dimension-agnostic measure every observation dimension reacts in, with the JSON serialization intrinsic to those types. serde_json-only; renders no verdict — it holds the measure, never the react itself.
漏刻 (Louke) — the runtime observation dimension of Tianheng: declare which concrete-type origins may cross a runtime seam, probe live dyn objects in production fail-closed, react as a structured event (panic opt-in), and audit probe coverage at CI time. Ships into the production binary; hot path is std-only, depends on 璇璣 only (星表 is an additive, audit-feature-gated exception that never reaches the production hot path).
Core Metrics
| hunyi | xuanji | louke | |
|---|---|---|---|
| Health Score | 60 | 63 | 63 |
| Total Downloads | 16.1K | 16.6K | 16.1K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 23 | 69 | 23 |
| Releases | 23 | 23 | 23 |
| Last Updated | 7d ago | 7d ago | 7d ago |
| Age | 3m | 3m | 3m |
Health Breakdown
Technical Details
| hunyi | xuanji | louke | |
|---|---|---|---|
| Version | 0.8.0 | 0.8.0 | 0.8.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 1 | 2 |
| Crate Size | 268KB | 34KB | 94KB |
| Features | 0 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.85 | 1.85 | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •xuanji leads with a health score of 63/100, but none of the options score above 80.