Modernize Rust SDK and add playlist support for 3.0.0 - #7
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Prepare
podcast-api3.0.0 with playlist writes and a modern Cargo workflow. Existing endpoint method names and theResponse { response, request }wrapper are preserved. Path identifiers remain positional string arguments, followed by JSON parameters.create_playlist,update_playlist,add_playlist_item,delete_playlist_item, andupdate_playlist_item_notes; generate all 30 methods, the contract snapshot, and README reference from the Listen Notes API specification and Rust registry.A & B, and preserve empty notes/descriptions. Fix recursive error formatting, retain response status/headers/body, classify 403 responses, and usepodcast-api-rust <version>as the User-Agent.no_runREADME examples. Add separate credential-free public-mock integration and CI for the minimum/current compiler, formatting, Clippy, documentation, and standalone crate packaging.Breaking changes
Error::NotFoundErrorbecomeError::NotFoundError(_). The enum is non-exhaustive and requires a fallback arm.Validation
The generator, Rust registry, website snippet changes, and development skill live in the companion monorepo changes. This PR contains the independent SDK and its generated outputs. Publication to crates.io and enabling the new website SDK snippets remain separate release steps.