Decision Workspace
leo3-codegen vs lean-rs-sys vs lean-rs
Side-by-side comparison of Rust crates
41
leo3-codegen
experimentalv0.3.1
CLI tool to generate Lean 4 extern declarations from Leo3 cdylib metadata
64
lean-rs-sys
experimentalv0.9.2
Raw FFI bindings for the Lean 4 C ABI. See `lean-rs` for the safe front door.
60
lean-rs
experimentalv0.9.2
Safe Rust bindings for Lean 4 interop: runtime initialization, object handles, typed ABI conversions, module loading, exported function calls, semantic handles, and callback handles.
Core Metrics
| leo3-codegen | lean-rs-sys | lean-rs | |
|---|---|---|---|
| Health Score | 41 | 64 | 60 |
| Total Downloads | 18 | 1.8K | 1.5K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 93 | 77 |
| Releases | 1 | 39 | 39 |
| Last Updated | 68d ago | 14d ago | 14d ago |
| Age | 2m | 4m | 4m |
Health Breakdown
leo3-codegen
Maintenance
9
Quality
13
Community
5
Popularity
2
Documentation
12
lean-rs-sys
Maintenance
18
Quality
16
Community
11
Popularity
4
Documentation
15
lean-rs
Maintenance
18
Quality
12
Community
11
Popularity
4
Documentation
15
Technical Details
| leo3-codegen | lean-rs-sys | lean-rs | |
|---|---|---|---|
| Version | 0.3.1 | 0.9.2 | 0.9.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 4 | 11 |
| Crate Size | 7KB | 44KB | 138KB |
| Features | 0 | 5 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | 1.88 | 1.94 | 1.94 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •lean-rs-sys leads with a health score of 64/100, but none of the options score above 80.