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.
This pull request is primarily focused on code cleanup, removal of unused imports, and addition of
#[allow(dead_code, unused_variables)]
attributes to suppress compiler warnings. The most important changes are summarized below:Code Cleanup and Simplification:
PLUGIN_API_VERSION
inplugin_api/src/lib.rs
as it was no longer needed.serve
import fromserver/src/server/mod.rs
as it was unused.Suppression of Compiler Warnings:
#[allow(dead_code, unused_variables)]
attributes to several structs and functions inserver/src/server/event_rep/structs.rs
to suppress warnings about unused code. [1] [2] [3]#[allow(dead_code, unused_variables)]
attributes to theHorizonServer
andHorizonThread
structs and their methods inserver/src/server/mod.rs
to suppress warnings about unused code. [1] [2] [3] [4] [5]Removal of Unused Imports:
server/src/main.rs
andserver/src/server/config.rs
to clean up the codebase. [1] [2]Function Parameter Updates:
new
method inplugins/chronos_plugin/src/lib.rs
andplugins/player_lib/src/lib.rs
to use_plugins
instead ofplugins
to indicate that the parameter is intentionally unused. [1] [2]setup_listeners
function inplugins/player_lib/src/lib.rs
to use_socket
and_player
instead ofsocket
andplayer
to indicate that the parameters are intentionally unused.