Decision Workspace
lnsocket vs cln-rdr vs lightning-invoice
Side-by-side comparison of Rust crates
47
lnsocket
growingv0.5.2
An async lightning network socket with with core-lightning rpc support
42
cln-rdr
experimentalv0.1.0
CLI for calling Core Lightning Commando RPCs over lnsocket.
71
lightning-invoice
growingv0.34.1
Data structures to parse and serialize BOLT11 lightning invoices
Core Metrics
| lnsocket | cln-rdr | lightning-invoice | |
|---|---|---|---|
| Health Score | 47 | 42 | 71 |
| Total Downloads | 10.2K | 23 | 2.6M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 2 | 0 | 2.8K |
| Releases | 8 | 1 | 56 |
| Last Updated | 417d ago | 168d ago | 8d ago |
| Age | 1y 2m | 5m | 7y 10m |
Health Breakdown
lnsocket
Maintenance
9
Quality
13
Community
7
Popularity
5
Documentation
13
cln-rdr
Maintenance
6
Quality
13
Community
6
Popularity
2
Documentation
15
lightning-invoice
Maintenance
18
Quality
15
Community
17
Popularity
8
Documentation
13
Technical Details
| lnsocket | cln-rdr | lightning-invoice | |
|---|---|---|---|
| Version | 0.5.2 | 0.1.0 | 0.34.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 8 | 5 | 6 |
| Crate Size | 60KB | 11KB | 50KB |
| Features | 0 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | — | 1.85 | — |
| Owners | 1 | 1 | 3 (team) |
Links
Quick Verdict
- •lightning-invoice leads with a health score of 71/100, but none of the options score above 80.
- •lightning-invoice is depended on by 2.8K crates — strongest ecosystem trust.
- •⚠ lnsocket has not been updated in over a year.