Decision Workspace
constmap vs inputx-fsa vs static_map
Side-by-side comparison of Rust crates
47
constmap
experimentalv0.3.0
A static map from strings to u64 values using binary fuse filter construction: smaller and faster than a HashMap, with batched lookups and checksummed serialization
53
inputx-fsa
experimentalv1.4.0
Minimal acyclic finite-state automaton — a compact, zero-dependency ordered byte-key → u64 map with prefix/range scan. Built for the Inputx IME's dictionaries (clean-room replacement for the `fst` crate's read+build path).
35
static_map
growingv0.1.1
A static hashmap implementation, based on the Round-Robin hashing algorithm found in rustc.
Core Metrics
| constmap | inputx-fsa | static_map | |
|---|---|---|---|
| Health Score | 47 | 53 | 35 |
| Total Downloads | 253 | 650 | 8.2K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 6 | 7 |
| Releases | 2 | 2 | 4 |
| Last Updated | 23d ago | 135d ago | 3359d ago |
| Age | 1m | 4m | 9y 2m |
Health Breakdown
constmap
Maintenance
13
Quality
13
Community
6
Popularity
3
Documentation
12
inputx-fsa
Maintenance
11
Quality
19
Community
8
Popularity
3
Documentation
12
static_map
Maintenance
2
Quality
10
Community
7
Popularity
5
Documentation
11
Technical Details
| constmap | inputx-fsa | static_map | |
|---|---|---|---|
| Version | 0.3.0 | 1.4.0 | 0.1.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | Apache-2.0/MIT |
| Dependencies | 4 | 2 | 1 |
| Crate Size | 47KB | 28KB | 2KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 25.0% |
| Edition | 2021 | 2024 | — |
| MSRV | 1.80 | 1.95 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •inputx-fsa leads with a health score of 53/100, but none of the options score above 80.
- •static_map has the most downloads (8.2K), suggesting wider adoption.
- •⚠ static_map has not been updated in over a year.
- •constmap, static_map are pre-1.0 — API may change.