This MR integrates a large number of fixes for the Hue Api model.
It is based on testing the API models on real-world data samples provided by volunteers.
Thanks to @hendriksen-mark @tbgoose @anderstrier @joeblack2k and others for providing sample data for testing.
Also new in this MR is the program examples/normalize-hue-get.rs, which reads data dumps from hue bridges, and encodes/decodes them through the Bifrost hue api models.
Anything that does not come out exactly the same, is reported as an error.
This has helped tremendously in finding weird edge cases in the api models.
This MR integrates a large number of fixes for the Hue Api model.
It is based on testing the API models on real-world data samples provided by volunteers.
Thanks to @hendriksen-mark @tbgoose @anderstrier @joeblack2k and others for providing sample data for testing.
Also new in this MR is the program
examples/normalize-hue-get.rs
, which reads data dumps from hue bridges, and encodes/decodes them through the Bifrost hue api models.Anything that does not come out exactly the same, is reported as an error.
This has helped tremendously in finding weird edge cases in the api models.