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.