FactbirdHQ / ublox-short-range-rs

A driver crate for the entire u-blox short range family in Rust
6 stars 2 forks source link

Upgrade dependencies #18

Closed MathiasKoch closed 3 years ago

MathiasKoch commented 3 years ago

Changes from generic_array to const generics Example:

impl<C, N, L> Dns for UbloxClient<C, N, L>
where
    C: atat::AtatClient,
    N: ArrayLength<Option<crate::sockets::SocketSetItem<L>>>,
    L: ArrayLength<u8>,
{

becomes:

impl<C, const N: usize, const L: usize> Dns for UbloxClient<C, N, L>
where
    C: atat::AtatClient
{

Drops the requirement of interior mutability (RefCell & Cell)

no-std-net dependency can be dropped, as those are re-exported by embedded-nal, thus not requiring us to version match the two on upgrades.

No big changes worth mentioning

No changes