Decision Workspace
mailrs-syscall vs rawsys-linux vs mailrs-mmalloc
Side-by-side comparison of Rust crates
0-dep raw Linux syscall stubs for mailrs's in-process allocator (mmap / munmap / madvise). aarch64-linux + x86_64-linux only — macOS host build is a stub so cargo workspace builds during development; the real path activates under target_os=linux.
Direct Linux kernel syscalls in Rust — no libc required, per-ISA and multi-version aware.
mmap-backed allocator for mailrs-server. Forked from the goliajp/torajs `torajs-mmalloc` v0.7 layered design (page bump + size-class free-list + TLAB + large mmap), adapted to Linux x86_64 + aarch64 prod targets. Provides a #[global_allocator]-compatible MailrsAllocator whose freed pages call madvise(MADV_DONTNEED) so resident memory actually returns to the OS — the bit glibc per-thread arenas refuse to do. Origin: 0-deps in-house policy, see DEPS_AUDIT.md / project NORTH STAR. macOS host build is a no-op stub so workspace cargo test runs during development.
Core Metrics
| mailrs-syscall | rawsys-linux | mailrs-mmalloc | |
|---|---|---|---|
| Health Score | 43 | 49 | 40 |
| Total Downloads | 42 | 1.7K | 18 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 1 | 0 | 0 |
| Releases | 1 | 2 | 1 |
| Last Updated | 66d ago | 425d ago | 66d ago |
| Age | 2m | 1y 2m | 2m |
Health Breakdown
Technical Details
| mailrs-syscall | rawsys-linux | mailrs-mmalloc | |
|---|---|---|---|
| Version | 0.1.0 | 1.0.1 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Apache-2.0 OR MIT | BSD-2-Clause | Apache-2.0 OR MIT |
| Dependencies | 0 | 4 | 2 |
| Crate Size | 7KB | 602KB | 58KB |
| Features | 0 | 27 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •rawsys-linux leads with a health score of 49/100, but none of the options score above 80.
- •⚠ rawsys-linux has not been updated in over a year.
- •mailrs-syscall, mailrs-mmalloc are pre-1.0 — API may change.