Extract P2P Components to Standalone Repositories #2211
amitu
started this conversation in
Ideas & RFCs
Replies: 1 comment
-
We have extracted fastn-context into its own repo and published it to crates.io.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Extract
fastn-context
,fastn-p2p
, andfastn-net
from the fastn monorepo into standalone repositories for external adoption. We will migratefastn-id52
later.Motivation
Our monorepo signals "internal development" while these components are production-ready and useful beyond fastn. Separate repositories signal "stable, public APIs" and enable external adoption.
Detailed Design
Repository Structure
New repos:
fastn-stack/context
- async context management (separate for now)fastn-stack/p2p
- consolidated P2P library with examplesExisting repos maintained:
fastn-stack/observer
- observability (potential future merger with context)P2P Consolidation
Merge related crates to reduce complexity:
fastn-net
→fastn-p2p::net
moduleRepository Structure
Examples will help identify common patterns to abstract into the core library.
Implementation Plan
Benefits
Alternatives Considered
Unresolved Questions
p2p
vsfastn-p2p
?Notes
Beta Was this translation helpful? Give feedback.
All reactions