ninesleep
ninesleep copied to clipboard
Fix newline handling
Found out the hard way that not stripping off newlines causes the frank.service to hang by doing:
echo 7200 | http POST 123.123.123.123:8000/temperature/left
There should be no particular reason to send a newline for the temperature
and temperature-duration
paths so just strip newlines to prevent this hang.
Also, hit some build failures and cargo suggested bumping the deps. So that is here as well.