Skip to content

SI-28: Extract torrust-server-lib to standalone repository (EPIC #1669) #1909

Closed

Description

@josecelano

Subissue of EPIC #1669 — Overhaul: Packages

Goal

Extract the torrust-server-lib crate from the tracker workspace into its own standalone repository.

Background

torrust-server-lib (folder packages/server-lib) is a shared utility crate for all Torrust HTTP servers. Key facts:

  • Independent dependency tree: its only Torrust dependency is torrust-net-primitives (published v0.1.0).
  • Five workspace consumers: axum-health-check-api-server, axum-http-server, axum-rest-api-server, axum-server, udp-server.
  • Already published on crates.io as torrust-server-lib.

Scope

  • Create standalone repository torrust/torrust-server-lib.
  • Move source with history preservation.
  • Make Cargo.toml self-contained.
  • Set up CI.
  • Update all 5 consumers + root Cargo.toml to use crates.io version dep.
  • Remove from workspace members.
  • Update AGENTS.md, packages/AGENTS.md, docs/packages.md.

Acceptance Criteria

  • Standalone repo exists on GitHub with CI.
  • No path dep on torrust-server-lib remains in workspace.
  • cargo build --workspace, cargo test --workspace, linter all pass.

Activity

  1. added
    Code Cleanup / Refactoring
    EPIC
    on Jun 11, 2026
  2. self-assigned this
    on Jun 11, 2026
  3. removed
    EPIC
    on Jun 11, 2026
  4. added a commit that references this issue on Jun 19, 2026
    0886da4
  5. added 3 commits that reference this issue on Jun 19, 2026
    264cf6f
    6c34167
    7a62b2e
  6. added a commit that references this issue on Oct 6, 2026
  7. added a commit that references this issue on Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Code Cleanup / Refactoring

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions