Decision Workspace
gnucobol-rs-bdb-format vs gnucobol-rs-io vs gnucobol-rs
Side-by-side comparison of Rust crates
Pure-safe-Rust reader AND writer for the Berkeley DB B-tree on-disk file format GnuCOBOL uses for INDEXED (ISAM) files. Clean-room from the public DB page layout: reads key->record pairs from a .dat written by real GnuCOBOL/libdb, and writes a .dat the genuine cobc can OPEN and READ. No unsafe, no C/libdb linkage.
gnucobol-rs file subsystem: real OS file I/O for fixed-record RECORD/LINE SEQUENTIAL COBOL files over the oracle-proven gnucobol-rs record + FILE STATUS primitives.
Faithful Rust port of GnuCOBOL packed-decimal (COMP-3), zoned, and display numeric byte semantics and the MOVE conversions between them, proven byte-identical against the GnuCOBOL 3.2 libcob oracle. Plus a PIC->field-model parser , DATA DIVISION record-layout engine, , COPY+REPLACING copybook expander, pure-Rust decimal arithmetic, VALUE initial-record images, PIC P-scaling, OCCURS DEPENDING ON physical-max layout, LEVEL-88 condition-name predicates, and SET-TO-TRUE byte construction. Not a compiler; not arithmetic.
Core Metrics
| gnucobol-rs-bdb-format | gnucobol-rs-io | gnucobol-rs | |
|---|---|---|---|
| Health Score | 53 | 42 | 58 |
| Total Downloads | 237 | 16 | 1.9K |
| 30d Downloads | 0 | 0 | 189 |
| Dependents | 47 | 0 | 23 |
| Releases | 3 | 1 | 112 |
| Last Updated | 27d ago | 32d ago | 20d ago |
| Age | 27d | 1m | 1m |
Health Breakdown
Technical Details
| gnucobol-rs-bdb-format | gnucobol-rs-io | gnucobol-rs | |
|---|---|---|---|
| Version | 0.3.0 | 0.1.0 | 0.8.50 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | LGPL-3.0-or-later | LGPL-3.0-or-later | LGPL-3.0-or-later |
| Dependencies | 0 | 1 | 1 |
| Crate Size | 17KB | 18KB | 930KB |
| Features | 0 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.74 | — | 1.74 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •gnucobol-rs leads with a health score of 58/100, but none of the options score above 80.