Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update and Fix a few of the issues #7

Open
wants to merge 24 commits into
base: master
Choose a base branch
from

Conversation

caemor
Copy link

@caemor caemor commented Nov 12, 2019

This PR seems to be similar to Palindromes PR with fixing a few of the issues, but based on simeonschaubs updates and therefore it is slightly different.

Fixes #3, #4

What this adds/changes:

  • add Settings/Parametersfield for units and language
  • add simple and basic tests for the free function (I don't have a paid account so I couldn't test the other functions)
  • switch to http_req with rust_tls because it has less deps and is faster to compile and is more than enough for this small usecase
  • add log so one can use things like debug!,...
  • split up files
  • update dependencies
  • fix/update a few of the weather types

What is still missing:

  • more and improved testcases for Locationspecifier, Settings,...

simeonschaub and others added 24 commits February 6, 2019 22:05
- Split up files
- Add Parameters (unfinished) for lang and units (metric,...)
- Switch to edition 2018
- add Settings/Parameters to each function
- add cnt to weather report5day
- fix timeslicehourly with optional rain and snow
- add snow
- fix cityshort with newly needed/included parameters (population, timezone, sunrise, sunset)
- make Wind:deg optional
- add WeatherReportCurrent::timezone
Rain and Snow structs were already defined but were not yet included in
the WeatherReportCurrent struct, although they do occur in the JSON
response from OpenWeatherMaps.
Add 'rain' and 'snow' to struct WeatherReportCurrent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Serde errors are being masked, hindering debugging
3 participants