Emilgardis / ember_mug

Rust crate for interacting with an Ember Ceramic Mug
Apache License 2.0
1 stars 1 forks source link

fix reading of notifications and bump dependencies #3

Closed Emilgardis closed 11 months ago

Emilgardis commented 11 months ago

fixes #2

tyalie commented 11 months ago

Can confirm that it works

tyalie commented 11 months ago

Oh i forgot to mention: I think get_push_event isn't really fixable. I thought about adding a debug statement there that mentions that this prob. doesn't work on some systems - which would keep compatibility, but makes note of the issue if anybody hits upon it again.

Emilgardis commented 11 months ago

i don't know what's wrong with nightly, getting

  --> src/mug/battery.rs:12:10
   |
12 | #[derive(BinRead, Debug)]
   |          ^^^^^^^
   |
   = help: message: attempt to subtract with overflow