Skip to content

Add serverruntime crate and runnable single-user example #22

Description

@sij411

Description

Create the server runtime process that hosts a single local Feder actor and provides the foundation for later HTTP, storage, and delivery work.

Scope

  • Add a feder-runtime-linux crate or equivalent workspace package.
  • Load basic local actor and server configuration.
  • Construct FederCore from runtime configuration.
  • Start a minimal server process/server with structured logging.
  • Provide a documented cargo run -p ... development command.
  • Keep runtime-specific dependencies out of feder-core and feder-vocab.

Done when

  • A developer can start the server runtime locally with one configured actor.
  • Startup validates required configuration and reports actionable errors.
  • The portable crates remain no_std + alloc compatible.
  • Basic runtime startup tests exist.

Out of scope

  • ActivityPub routes and WebFinger.
  • Persistent storage.
  • HTTP Signatures and federation delivery.

Features to add

  • Workspace crate feder-runtime-server
  • Server entry point which starts a process/server
  • Config module + load from env variables
  • Error handling
  • Core construction
  • Minimal server
  • Tests
  • Documentation

Metadata

Metadata

Assignees

Labels

phase 2Phase 2 Linux runtime work

Type

No type

Priority

None yet

Effort

None yet

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions