Skip to content

SI-5: Deprecate rest-api-core and remove from workspace #1943

Closed

Description

@josecelano

Subissue of EPIC #1938 — REST API Contract-First Migration

Problem

After SI-1 through SI-4 migrate all contexts, rest-api-core (torrust-tracker-rest-api-core) becomes an empty shell. Its only consumer is axum-rest-api-server — once SI-4 removes the last stats dependency, the crate has no reason to exist.

Prerequisites

  • SI-4 completed (last consumer of rest-api-core types removed)

Scope

  • Remove torrust-tracker-rest-api-core from axum-rest-api-server/Cargo.toml
  • Remove crate from workspace Cargo.toml members
  • Delete packages/rest-api-core/ directory
  • Update deny.toml if crate had wrapper rules
  • Verify no build/test breakage

Checklist

  • No crate references torrust-tracker-rest-api-core
  • Workspace builds cleanly
  • Integration tests pass
  • Pre-commit and pre-push checks pass

Activity

  1. self-assigned this
    on Jun 24, 2026
  2. added
    Code Cleanup / Refactoring
    - Developer -
    API
    on Jun 24, 2026
  3. added 2 commits that reference this issue on Jun 24, 2026
  4. added 2 commits that reference this issue on Jun 29, 2026
    ec8336b
    ae3223a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

- Developer -APICode Cleanup / Refactoringtask

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions