rust-iot / rust-radio-sx128x

Rust driver for the Semtec SX128x series of 2.4GHz LoRa/ISM radio transceivers
Mozilla Public License 2.0
13 stars 6 forks source link

Simplifying trait bounds #105

Closed ryankurte closed 2 years ago

ryankurte commented 2 years ago

cleans up trait bounds so they are hopefully more clear which should improve further with e-h@1.0.0-alpha.8. also made driver-pal optional / only required for util.

cc. @henrikssn

henrikssn commented 2 years ago

Very nice, defmt support is something I also had on the todo list.

Note that with 0.4, the env features have been removed. It isn't stable yet, just a FYI.

ryankurte commented 2 years ago

ahh yeah i finally got too stuck without it, we'll just have to jump when 0.4 comes out.

any opinion on the errors here vs. the 127x version? i don't think one is remarkably better than the other so was thinking i'd just release both and see if there's a difference to users.