The rust backend was getting very messy so decided to rearrange everything into separate modules:
The three main modules of the application are:
provider: for dealing with external requests to the reddit API and others like wallhaven.cc
organizer: for dealing with arranging images that the user has liked and added to collections
wallpaper: responsible for setting the desktop background wallpaper and other features.
There is also a utils module for holding code that maybe used across the other domains.
The goal of this is to make it easier to add new features from the backend if needed in the future.
Other Things
Took the time to understand more about rust and refactored the existing code reducing its size while keeping its functionality
Description
The rust backend was getting very messy so decided to rearrange everything into separate modules:
The three main modules of the application are:
There is also a utils module for holding code that maybe used across the other domains. The goal of this is to make it easier to add new features from the backend if needed in the future.
Other Things