From 644020ea7f728a8ef99d6885580f6227724cea34 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Sat, 7 Feb 2026 02:25:02 +0900 Subject: [PATCH] flake.lock: bump, Cargo.{toml,lock}: update inputs, fmt, lint --- Cargo.lock | 16 ++++++++-------- Cargo.toml | 10 +++++----- examples/mpd-client/main.rs | 5 ++++- flake.lock | 12 ++++++------ src/commands.rs | 2 +- src/commands/audio_output_devices/outputs.rs | 2 +- src/commands/client_to_client/channels.rs | 2 +- src/commands/client_to_client/readmessages.rs | 2 +- .../mounts_and_neighbors/listneighbors.rs | 2 +- src/commands/music_database/albumart.rs | 2 +- src/commands/music_database/count.rs | 2 +- src/commands/music_database/find.rs | 2 +- src/commands/music_database/getfingerprint.rs | 2 +- src/commands/music_database/list.rs | 2 +- src/commands/music_database/listall.rs | 2 +- src/commands/music_database/listallinfo.rs | 2 +- src/commands/music_database/listfiles.rs | 2 +- src/commands/music_database/lsinfo.rs | 2 +- src/commands/music_database/readcomments.rs | 2 +- src/commands/music_database/readpicture.rs | 2 +- src/commands/music_database/rescan.rs | 2 +- src/commands/music_database/search.rs | 2 +- src/commands/music_database/searchcount.rs | 2 +- src/commands/music_database/update.rs | 2 +- .../playback_options/replay_gain_status.rs | 2 +- src/commands/querying_mpd_status/currentsong.rs | 2 +- src/commands/querying_mpd_status/stats.rs | 2 +- src/commands/querying_mpd_status/status.rs | 2 +- src/commands/queue/addid.rs | 2 +- src/commands/queue/playlist.rs | 4 ++-- src/commands/queue/playlistfind.rs | 2 +- src/commands/queue/playlistid.rs | 4 ++-- src/commands/queue/playlistinfo.rs | 2 +- src/commands/queue/playlistsearch.rs | 4 ++-- src/commands/queue/plchanges.rs | 4 ++-- src/commands/queue/plchangesposid.rs | 4 ++-- src/commands/reflection/config.rs | 2 +- src/commands/reflection/decoders.rs | 2 +- src/commands/stickers/sticker_find.rs | 2 +- src/commands/stickers/sticker_list.rs | 2 +- src/commands/stickers/stickernamestypes.rs | 2 +- .../stored_playlists/listplaylistinfo.rs | 4 ++-- src/commands/stored_playlists/listplaylists.rs | 2 +- src/commands/stored_playlists/playlistlength.rs | 2 +- 44 files changed, 69 insertions(+), 66 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f48ee57..3bbdd7c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -22,9 +22,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.100" +version = "1.0.101" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61" +checksum = "5f0e0fee31ef5ed1ba1316088939cea399010ed7731dba877ed44aeb407a75ea" [[package]] name = "ascii-canvas" @@ -101,9 +101,9 @@ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" [[package]] name = "chrono" -version = "0.4.42" +version = "0.4.43" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "145052bdd345b87320e369255277e3fb5152762ad123a901ef5c262dd38fe8d2" +checksum = "fac4744fb15ae8337dc853fee7fb3f4e48c0fbaa23d0afe49c447b4fab126118" dependencies = [ "iana-time-zone", "js-sys", @@ -694,18 +694,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.17" +version = "2.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" +checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "2.0.17" +version = "2.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" +checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 3e5edc1..e709e63 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,13 +12,13 @@ edition = "2024" rust-version = "1.85.0" [dependencies] -chrono = { version = "0.4.42", features = ["serde"] } +chrono = { version = "0.4.43", features = ["serde"] } futures-util = { version = "0.3.31", optional = true, features = ["io"] } lalrpop-util = { version = "0.22.2", features = ["lexer"] } paste = "1.0.15" serde = { version = "1.0.228", features = ["derive"] } -thiserror = "2.0.17" -tokio = { version = "1.48.0", optional = true, features = ["io-util"] } +thiserror = "2.0.18" +tokio = { version = "1.49.0", optional = true, features = ["io-util"] } [features] default = ["tokio"] @@ -26,10 +26,10 @@ futures = ["dep:futures-util"] tokio = ["dep:tokio"] [dev-dependencies] -anyhow = "1.0.100" +anyhow = "1.0.101" indoc = "2.0.7" pretty_assertions = "1.4.1" -tokio = { version = "1.48.0", features = ["macros", "net", "rt"] } +tokio = { version = "1.49.0", features = ["macros", "net", "rt"] } [build-dependencies] lalrpop = "0.22.2" diff --git a/examples/mpd-client/main.rs b/examples/mpd-client/main.rs index b384518..ab16920 100644 --- a/examples/mpd-client/main.rs +++ b/examples/mpd-client/main.rs @@ -5,7 +5,10 @@ async fn main() -> anyhow::Result<()> { let socket = tokio::net::TcpSocket::new_v4()?; let mut stream = socket.connect("127.0.0.1:6600".parse()?).await?; let mut client = MpdClient::new(&mut stream).await?; - println!("Connected to MPD server: {}", client.get_mpd_version().unwrap_or("unknown")); + println!( + "Connected to MPD server: {}", + client.get_mpd_version().unwrap_or("unknown") + ); client.play(None).await?; diff --git a/flake.lock b/flake.lock index 21cef35..1310ff8 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1765472234, - "narHash": "sha256-9VvC20PJPsleGMewwcWYKGzDIyjckEz8uWmT0vCDYK0=", + "lastModified": 1770197578, + "narHash": "sha256-AYqlWrX09+HvGs8zM6ebZ1pwUqjkfpnv8mewYwAo+iM=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "2fbfb1d73d239d2402a8fe03963e37aab15abe8b", + "rev": "00c21e4c93d963c50d4c0c89bfa84ed6e0694df2", "type": "github" }, "original": { @@ -29,11 +29,11 @@ ] }, "locked": { - "lastModified": 1765680428, - "narHash": "sha256-fyPmRof9SZeI14ChPk5rVPOm7ISiiGkwGCunkhM+eUg=", + "lastModified": 1770347142, + "narHash": "sha256-uz+ZSqXpXEPtdRPYwvgsum/CfNq7AUQ/0gZHqTigiPM=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "eb3898d8ef143d4bf0f7f2229105fc51c7731b2f", + "rev": "2859683cd9ef7858d324c5399b0d8d6652bf4044", "type": "github" }, "original": { diff --git a/src/commands.rs b/src/commands.rs index 9c31459..2d00140 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -116,7 +116,7 @@ where /// This assumes the raw string starts with the command name, e.g. /// `command_name arg1 "arg2 arg3"` fn parse_raw(raw: &str) -> Result { - let (line, rest) = raw + let (line, _rest) = raw .split_once('\n') .ok_or(RequestParserError::MissingNewline)?; diff --git a/src/commands/audio_output_devices/outputs.rs b/src/commands/audio_output_devices/outputs.rs index 94852f9..591125d 100644 --- a/src/commands/audio_output_devices/outputs.rs +++ b/src/commands/audio_output_devices/outputs.rs @@ -53,7 +53,7 @@ impl CommandResponse for OutputsResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/client_to_client/channels.rs b/src/commands/client_to_client/channels.rs index d16303b..e06fabb 100644 --- a/src/commands/client_to_client/channels.rs +++ b/src/commands/client_to_client/channels.rs @@ -26,7 +26,7 @@ impl CommandResponse for ChannelsResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/client_to_client/readmessages.rs b/src/commands/client_to_client/readmessages.rs index e705e29..618f8d3 100644 --- a/src/commands/client_to_client/readmessages.rs +++ b/src/commands/client_to_client/readmessages.rs @@ -36,7 +36,7 @@ impl CommandResponse for ReadMessagesResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/mounts_and_neighbors/listneighbors.rs b/src/commands/mounts_and_neighbors/listneighbors.rs index 8f12812..c53a616 100644 --- a/src/commands/mounts_and_neighbors/listneighbors.rs +++ b/src/commands/mounts_and_neighbors/listneighbors.rs @@ -25,7 +25,7 @@ impl CommandResponse for ListNeighborsResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/music_database/albumart.rs b/src/commands/music_database/albumart.rs index a9d93c5..0d29a8a 100644 --- a/src/commands/music_database/albumart.rs +++ b/src/commands/music_database/albumart.rs @@ -86,7 +86,7 @@ impl CommandResponse for AlbumArtResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/music_database/count.rs b/src/commands/music_database/count.rs index d79d765..65cec0a 100644 --- a/src/commands/music_database/count.rs +++ b/src/commands/music_database/count.rs @@ -101,7 +101,7 @@ impl CommandResponse for CountResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/music_database/find.rs b/src/commands/music_database/find.rs index ff1972a..97712ed 100644 --- a/src/commands/music_database/find.rs +++ b/src/commands/music_database/find.rs @@ -132,7 +132,7 @@ impl CommandResponse for FindResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/music_database/getfingerprint.rs b/src/commands/music_database/getfingerprint.rs index bd1e2fb..a9470b9 100644 --- a/src/commands/music_database/getfingerprint.rs +++ b/src/commands/music_database/getfingerprint.rs @@ -28,7 +28,7 @@ impl CommandResponse for GetFingerprintResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/music_database/list.rs b/src/commands/music_database/list.rs index d6e85b7..6ac77b5 100644 --- a/src/commands/music_database/list.rs +++ b/src/commands/music_database/list.rs @@ -165,7 +165,7 @@ impl CommandResponse for ListResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/music_database/listall.rs b/src/commands/music_database/listall.rs index 813cf99..34cb806 100644 --- a/src/commands/music_database/listall.rs +++ b/src/commands/music_database/listall.rs @@ -27,7 +27,7 @@ impl CommandResponse for ListAllResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/music_database/listallinfo.rs b/src/commands/music_database/listallinfo.rs index 72fa1b9..e6d75bd 100644 --- a/src/commands/music_database/listallinfo.rs +++ b/src/commands/music_database/listallinfo.rs @@ -23,7 +23,7 @@ impl ListAllInfoResponse { } impl CommandResponse for ListAllInfoResponse { - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/music_database/listfiles.rs b/src/commands/music_database/listfiles.rs index 4c5c25b..31d9b36 100644 --- a/src/commands/music_database/listfiles.rs +++ b/src/commands/music_database/listfiles.rs @@ -26,7 +26,7 @@ impl CommandResponse for ListFilesResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/music_database/lsinfo.rs b/src/commands/music_database/lsinfo.rs index 587ca68..367d1b1 100644 --- a/src/commands/music_database/lsinfo.rs +++ b/src/commands/music_database/lsinfo.rs @@ -26,7 +26,7 @@ impl CommandResponse for LsInfoResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/music_database/readcomments.rs b/src/commands/music_database/readcomments.rs index 11e1d63..4c399a8 100644 --- a/src/commands/music_database/readcomments.rs +++ b/src/commands/music_database/readcomments.rs @@ -26,7 +26,7 @@ impl CommandResponse for ReadCommentsResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/music_database/readpicture.rs b/src/commands/music_database/readpicture.rs index ece25fa..f6c5c53 100644 --- a/src/commands/music_database/readpicture.rs +++ b/src/commands/music_database/readpicture.rs @@ -93,7 +93,7 @@ impl CommandResponse for ReadPictureResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/music_database/rescan.rs b/src/commands/music_database/rescan.rs index 11266ea..002ce82 100644 --- a/src/commands/music_database/rescan.rs +++ b/src/commands/music_database/rescan.rs @@ -30,7 +30,7 @@ impl CommandResponse for RescanResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/music_database/search.rs b/src/commands/music_database/search.rs index b727a40..6d2aed4 100644 --- a/src/commands/music_database/search.rs +++ b/src/commands/music_database/search.rs @@ -128,7 +128,7 @@ impl SearchResponse { } impl CommandResponse for SearchResponse { - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/music_database/searchcount.rs b/src/commands/music_database/searchcount.rs index 8967f02..1f352cd 100644 --- a/src/commands/music_database/searchcount.rs +++ b/src/commands/music_database/searchcount.rs @@ -98,7 +98,7 @@ impl SearchCountResponse { } impl CommandResponse for SearchCountResponse { - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/music_database/update.rs b/src/commands/music_database/update.rs index 44b8594..22649b9 100644 --- a/src/commands/music_database/update.rs +++ b/src/commands/music_database/update.rs @@ -30,7 +30,7 @@ impl CommandResponse for UpdateResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/playback_options/replay_gain_status.rs b/src/commands/playback_options/replay_gain_status.rs index 7797caa..52fd10a 100644 --- a/src/commands/playback_options/replay_gain_status.rs +++ b/src/commands/playback_options/replay_gain_status.rs @@ -28,7 +28,7 @@ impl CommandResponse for ReplayGainStatusResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/querying_mpd_status/currentsong.rs b/src/commands/querying_mpd_status/currentsong.rs index 1b9d64f..d19e1f9 100644 --- a/src/commands/querying_mpd_status/currentsong.rs +++ b/src/commands/querying_mpd_status/currentsong.rs @@ -44,7 +44,7 @@ impl CommandResponse for CurrentSongResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/querying_mpd_status/stats.rs b/src/commands/querying_mpd_status/stats.rs index 0218f71..511cb5a 100644 --- a/src/commands/querying_mpd_status/stats.rs +++ b/src/commands/querying_mpd_status/stats.rs @@ -51,7 +51,7 @@ impl CommandResponse for StatsResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/querying_mpd_status/status.rs b/src/commands/querying_mpd_status/status.rs index 5ad7b11..b240440 100644 --- a/src/commands/querying_mpd_status/status.rs +++ b/src/commands/querying_mpd_status/status.rs @@ -126,7 +126,7 @@ impl CommandResponse for StatusResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/queue/addid.rs b/src/commands/queue/addid.rs index 9f7b5f1..c12ca8b 100644 --- a/src/commands/queue/addid.rs +++ b/src/commands/queue/addid.rs @@ -86,7 +86,7 @@ impl CommandResponse for AddIdResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/queue/playlist.rs b/src/commands/queue/playlist.rs index 2cc3348..607a008 100644 --- a/src/commands/queue/playlist.rs +++ b/src/commands/queue/playlist.rs @@ -24,11 +24,11 @@ impl CommandResponse for PlaylistResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } - fn parse(parts: ResponseAttributes<'_>) -> Result { + fn parse(_parts: ResponseAttributes<'_>) -> Result { unimplemented!() } } diff --git a/src/commands/queue/playlistfind.rs b/src/commands/queue/playlistfind.rs index a56a20a..8e3487c 100644 --- a/src/commands/queue/playlistfind.rs +++ b/src/commands/queue/playlistfind.rs @@ -157,7 +157,7 @@ impl CommandResponse for PlaylistFindResponse { todo!() } - fn from_response_enum(response: Response) -> Option { + fn from_response_enum(_response: Response) -> Option { todo!() } diff --git a/src/commands/queue/playlistid.rs b/src/commands/queue/playlistid.rs index 7590192..e150bad 100644 --- a/src/commands/queue/playlistid.rs +++ b/src/commands/queue/playlistid.rs @@ -48,11 +48,11 @@ impl CommandResponse for PlaylistIdResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } - fn parse(parts: ResponseAttributes<'_>) -> Result { + fn parse(_parts: ResponseAttributes<'_>) -> Result { unimplemented!() } } diff --git a/src/commands/queue/playlistinfo.rs b/src/commands/queue/playlistinfo.rs index a5ef518..8531530 100644 --- a/src/commands/queue/playlistinfo.rs +++ b/src/commands/queue/playlistinfo.rs @@ -50,7 +50,7 @@ impl CommandResponse for PlaylistInfoResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/queue/playlistsearch.rs b/src/commands/queue/playlistsearch.rs index a855016..3a1c206 100644 --- a/src/commands/queue/playlistsearch.rs +++ b/src/commands/queue/playlistsearch.rs @@ -152,7 +152,7 @@ impl PlaylistSearchResponseEntry { } impl CommandResponse for PlaylistSearchResponse { - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } @@ -160,7 +160,7 @@ impl CommandResponse for PlaylistSearchResponse { todo!() } - fn parse(parts: ResponseAttributes<'_>) -> Result { + fn parse(_parts: ResponseAttributes<'_>) -> Result { unimplemented!() } } diff --git a/src/commands/queue/plchanges.rs b/src/commands/queue/plchanges.rs index 445a75f..3e335cc 100644 --- a/src/commands/queue/plchanges.rs +++ b/src/commands/queue/plchanges.rs @@ -108,7 +108,7 @@ impl PlChangesResponseEntry { } impl CommandResponse for PlChangesResponse { - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } @@ -116,7 +116,7 @@ impl CommandResponse for PlChangesResponse { todo!() } - fn parse(parts: ResponseAttributes<'_>) -> Result { + fn parse(_parts: ResponseAttributes<'_>) -> Result { unimplemented!() } } diff --git a/src/commands/queue/plchangesposid.rs b/src/commands/queue/plchangesposid.rs index 8c03c1b..4227ce5 100644 --- a/src/commands/queue/plchangesposid.rs +++ b/src/commands/queue/plchangesposid.rs @@ -97,7 +97,7 @@ impl PlChangesPosIdResponseEntry { } impl CommandResponse for PlChangesPosIdResponse { - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } @@ -105,7 +105,7 @@ impl CommandResponse for PlChangesPosIdResponse { todo!() } - fn parse(parts: ResponseAttributes<'_>) -> Result { + fn parse(_parts: ResponseAttributes<'_>) -> Result { unimplemented!() } } diff --git a/src/commands/reflection/config.rs b/src/commands/reflection/config.rs index e4fd77e..84f16ce 100644 --- a/src/commands/reflection/config.rs +++ b/src/commands/reflection/config.rs @@ -33,7 +33,7 @@ impl CommandResponse for ConfigResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/reflection/decoders.rs b/src/commands/reflection/decoders.rs index b418cab..5c58436 100644 --- a/src/commands/reflection/decoders.rs +++ b/src/commands/reflection/decoders.rs @@ -40,7 +40,7 @@ impl CommandResponse for DecodersResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/stickers/sticker_find.rs b/src/commands/stickers/sticker_find.rs index 5f1098c..4bc0445 100644 --- a/src/commands/stickers/sticker_find.rs +++ b/src/commands/stickers/sticker_find.rs @@ -189,7 +189,7 @@ impl StickerFindResponseEntry { } impl CommandResponse for StickerFindResponse { - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/stickers/sticker_list.rs b/src/commands/stickers/sticker_list.rs index 34357aa..f9b5404 100644 --- a/src/commands/stickers/sticker_list.rs +++ b/src/commands/stickers/sticker_list.rs @@ -85,7 +85,7 @@ impl CommandResponse for StickerListResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/stickers/stickernamestypes.rs b/src/commands/stickers/stickernamestypes.rs index a0c9976..7a42f69 100644 --- a/src/commands/stickers/stickernamestypes.rs +++ b/src/commands/stickers/stickernamestypes.rs @@ -76,7 +76,7 @@ impl CommandResponse for StickerNamesTypesResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/stored_playlists/listplaylistinfo.rs b/src/commands/stored_playlists/listplaylistinfo.rs index 799edbc..e87a86f 100644 --- a/src/commands/stored_playlists/listplaylistinfo.rs +++ b/src/commands/stored_playlists/listplaylistinfo.rs @@ -80,11 +80,11 @@ impl CommandResponse for ListPlaylistInfoResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } - fn parse(parts: ResponseAttributes<'_>) -> Result { + fn parse(_parts: ResponseAttributes<'_>) -> Result { unimplemented!() } } diff --git a/src/commands/stored_playlists/listplaylists.rs b/src/commands/stored_playlists/listplaylists.rs index 66bf93a..c1ee9d9 100644 --- a/src/commands/stored_playlists/listplaylists.rs +++ b/src/commands/stored_playlists/listplaylists.rs @@ -40,7 +40,7 @@ impl CommandResponse for ListPlaylistsResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() } diff --git a/src/commands/stored_playlists/playlistlength.rs b/src/commands/stored_playlists/playlistlength.rs index e45c744..ea1b039 100644 --- a/src/commands/stored_playlists/playlistlength.rs +++ b/src/commands/stored_playlists/playlistlength.rs @@ -29,7 +29,7 @@ impl CommandResponse for PlaylistLengthResponse { todo!() } - fn from_response_enum(response: crate::Response) -> Option { + fn from_response_enum(_response: crate::Response) -> Option { todo!() }