From dd4389d53ec2687de85acb1373c5bce35dd0a95e Mon Sep 17 00:00:00 2001 From: Gabriel Kaszewski Date: Sun, 12 Jul 2026 03:35:09 +0200 Subject: [PATCH] deprecate k-tv-backend, fix workspace feature-unification build --- crates/mcp/src/main.rs | 1 + crates/presentation/src/factory.rs | 1 + k-tv-backend/README.md | 4 +++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/crates/mcp/src/main.rs b/crates/mcp/src/main.rs index 523edba..0e38f47 100644 --- a/crates/mcp/src/main.rs +++ b/crates/mcp/src/main.rs @@ -127,6 +127,7 @@ fn wire_repositories(pool: &DbPool) -> anyhow::Result { library_query: w.library_query, }) } + _ => anyhow::bail!("database backend not compiled into this binary"), } } diff --git a/crates/presentation/src/factory.rs b/crates/presentation/src/factory.rs index c5320f6..6a378a6 100644 --- a/crates/presentation/src/factory.rs +++ b/crates/presentation/src/factory.rs @@ -229,6 +229,7 @@ fn wire_repositories(pool: &DbPool) -> anyhow::Result { provider_config_query: w.provider_config_query, }) } + _ => anyhow::bail!("database backend not compiled into this binary"), } } diff --git a/k-tv-backend/README.md b/k-tv-backend/README.md index a4f5cfc..8350f91 100644 --- a/k-tv-backend/README.md +++ b/k-tv-backend/README.md @@ -1,4 +1,6 @@ -# K-TV Backend +# K-TV Backend (DEPRECATED) + +> **DEPRECATED**: This monolithic backend has been superseded by the new multi-crate workspace under `crates/`. Use `cargo build -p presentation` for the HTTP server and `cargo build -p mcp` for the MCP server. This directory is excluded from the workspace and will be removed in a future release. The Rust API server for K-TV — a self-hosted linear TV channel orchestration layer for personal media servers.