commits
- Change print_song_info() range from 0..5 to 0..6 to make case 5 reachable
- Add detailed comments explaining why all fields are needed in API structs
- Re-add #[allow(dead_code)] with explanation for deserialization requirements
Co-authored-by: jchoi2x <2028917+jchoi2x@users.noreply.github.com>
- Add reqwest dependency with json feature
- Add serde derive feature
- Create LyricsApiResponse and ApiPrimaryArtist structs for deserialization
- Replace genius.get_lyrics() with direct HTTP GET to genius-mcp.xvzf.workers.dev
- Create print_song_info() helper function to maintain colorized output format
- Add proper error handling with descriptive messages
- Keep search and song subcommands using genius-rust (they still work)
Co-authored-by: jchoi2x <2028917+jchoi2x@users.noreply.github.com>
- Add reqwest dependency with json feature
- Add serde derive feature
- Create LyricsApiResponse and ApiPrimaryArtist structs for deserialization
- Replace genius.get_lyrics() with direct HTTP GET to genius-mcp.xvzf.workers.dev
- Create print_song_info() helper function to maintain colorized output format
- Add proper error handling with descriptive messages
- Keep search and song subcommands using genius-rust (they still work)
Co-authored-by: jchoi2x <2028917+jchoi2x@users.noreply.github.com>