181 add weather wasm executable#226
Merged
Merged
Conversation
…arate resolve_target function
…ad sleep functions
- Introduced a new executable for weather functionality. - Added Cargo.toml configuration for the weather module. - Implemented API calls to Open Meteo for geocoding and weather forecasts. - Created data models for handling API responses. - Developed formatting functions for displaying weather data in the UI. - Implemented a user interface for city input and weather display. - Added tests for API response parsing and UI behavior. - Included installation script for creating a shortcut to the weather executable.
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
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.
This pull request introduces several improvements and refactors to the networking and HTTPS client infrastructure, as well as adds a new
weatherexecutable to the system. The main focus is on simplifying DNS resolution, improving the HTTPS client’s random number generation by making it pluggable, and cleaning up logging and resource management. Additionally, the newweatherexecutable is integrated into the build and virtual file system.Networking and HTTPS client improvements:
network::Manager::resolveAPI, removing the need for explicit DNS socket management. [1] [2] [3] [4]RandomNumberGenerator<T>wrapper, replacing the previous system RNG. This allows for dependency injection of entropy sources and improves testability and portability. [1] [2] [3] [4]Resource management and code cleanup:
New executable integration:
weatherexecutable to the workspace and build system, and ensured it is loaded and installed in the virtual file system at startup. [1] [2] [3]Example usage improvements:
weatherexecutable. [1] [2] [3]These changes collectively modernize the networking stack, improve reliability and maintainability, and expand the system’s capabilities with a new executable.
Networking and HTTPS client improvements:
network::Manager::resolve, removing explicit DNS socket usage and simplifying API calls. [1] [2] [3] [4]Resource management and code cleanup:
New executable integration:
weatherexecutable to the workspace, build, and virtual file system initialization. [1] [2] [3]Example usage improvements:
weatherexecutable. [1] [2] [3]