No-std usage among rust-lightning dependents
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 15/100
Hướng nghiên cứu
This is a maintainer tracking issue on whether rust-lightning should keep no_std, not a patch. There is no file or test named to change. Start from the issue body, the linked #4309 example, and the listed Cargo.toml paths of dependents. Done would be a decision on no_std support, not a first-timer code change.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
This issue tracks the usage of rust-lightning in no_std environments to help inform decisions about continued no_std support.
Rationale
Supporting no_std adds complexity to the development process. Notable pain points include:
- Time access: No access to system time, requiring alternative approaches
- Send/Sync requirements: Additional constraints on types and trait bounds
A recent example of no_std-related complexity: #4309
Is it worth supporting no_std?
To answer this question, we need visibility into who actually uses rust-lightning in no_std mode.
Methodology
Determining reverse dependencies for no_std specifically isn't straightforward—GitHub's dependency graph doesn't distinguish between feature configurations. I vibe-coded a tool to scan dependents and check their Cargo.toml files for default-features = false without std re-enabled:
https://github.com/joostjager/rust-lightning/tree/ldk-dep-scanner
Note: Not all items in the table below necessarily use no_std in an unavoidable way—some projects may work fine with std enabled but simply haven't changed their configuration.
Direct no_std dependents
The table below shows all direct dependents of rust-lightning that use it in no_std mode, sorted by stars:
| Repository | Stars | Last Updated | Cargo.toml |
|---|---|---|---|
| p2pderivatives/rust-dlc | 157 | 2025-12-13 | Cargo.toml |
| Blockstream/lwk | 93 | 2026-01-14 | Cargo.toml |
| BoltzExchange/boltz-client | 76 | 2026-01-13 | Cargo.toml |
| bennyhodl/dlcdevkit | 33 | 2026-01-08 | Cargo.toml |
| MutinyWallet/bitcoin-waila | 30 | 2025-09-01 | Cargo.toml |
| lightning-signer/validating-lightning-signer | 14 | 2026-01-07 | Cargo.toml |
| rust-bitcoin/bitcoin-payment-instructions | 10 | 2026-01-07 | Cargo.toml |
| akitamiabtc/yuv-lightning | 5 | 2025-09-21 | Cargo.toml |
| BoltzExchange/bolt12-wasm | 4 | 2026-01-08 | Cargo.toml |
| lightning-signer/vls | 1 | 2025-10-17 | Cargo.toml |
| benthecarman/rust-dlc | 1 | 2023-12-13 | Cargo.toml |
| TheBlueMatt/libbtcwallet | 0 | 2025-03-26 | Cargo.toml |
| TheBlueMatt/ln-routing-replay | 0 | 2025-05-12 | Cargo.toml |
| fedibtc/fedimint | 0 | 2024-07-24 | Cargo.toml |
- Ngôn ngữ chính
- Rust
- Star
- 1.4k
- Fork
- 482
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của lightningdevkit/rust-lightning
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
lightningdevkit/rust-lightning#4767 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
lightningdevkit/rust-lightning#1849 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
lightningdevkit/rust-lightning#4764 · 3 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 22/100
lightningdevkit/rust-lightning#4757 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 28/100
lightningdevkit/rust-lightning#4739 ·
Tất cả issue của lightningdevkit/rust-lightning
Issue tương tự
-
bug help wanted ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
userFRM/egui-charts#4292 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Tripstack-Corp/spyc#1352 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
marketing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:tui enhancement P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
agent-of-empires/agent-of-empires#6077 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày