Delete feed.rs and remove the "feed" subcommand from rockskyd CLI, remove rocksky-feed from the workspace Cargo.toml, and update Cargo.lock to drop the crate and its transitive dependencies.
···3636 Command::new("pull")
3737 .about("Pull data from a remote PostgreSQL database to your local PostgresSQL instance")
3838 .long_about("Pull data from a remote PostgreSQL database to your local PostgresSQL instance. Ensure that the SOURCE_POSTGRES_URL environment variable is set to your remote PostgreSQL connection string."))
3939- .subcommand(
4040- Command::new("feed")
4141- .about("Feed related commands")
4242- .subcommand(
4343- Command::new("serve")
4444- .arg(arg!(--sync "Enable sync mode").required(false))
4545- .about("Serve the Rocksky Feed API"),
4646- )
4747- .subcommand(Command::new("sync").about("Sync scrobbles feed data to DuckDB")),
4848- )
4939}
50405141#[tokio::main]
···10292 Some(("pull", _)) => {
10393 cmd::pull::pull_data().await?;
10494 }
105105- Some(("feed", sub_m)) => match sub_m.subcommand() {
106106- Some(("serve", args)) => {
107107- let enable_sync = args.get_flag("sync");
108108- cmd::feed::serve(enable_sync).await?
109109- }
110110- Some(("sync", _)) => cmd::feed::sync().await?,
111111- _ => println!("Unknown feed command"),
112112- },
11395 _ => {
11496 println!("No valid subcommand was used. Use --help to see available commands.");
11597 }