Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 13, 2023

Bumps smoltcp from 0.7.5 to 0.9.1.

Changelog

Sourced from smoltcp's changelog.

[0.9.1] - 2023-02-08

  • iface: make MulticastError public. (#747)
  • Fix parsing of ieee802154 link layer address for NDISC options (#746)

[0.9.0] - 2023-02-06

  • Minimum Supported Rust Version (MSRV) bumped from 1.56 to 1.65
  • Added DNS client support.
    • Add DnsSocket (#465)
    • Add support for one-shot mDNS resolution (#669)
  • Added support for packet fragmentation and reassembly, both for IPv4 and 6LoWPAN. (#591, #580, #624, #634, #645, #653, #684)
  • Major error handling overhaul.
    • Previously, smoltcp had a single Error enum that all methods returned. Now methods that can fail have their own error enums, with only the actual errors they can return. (#617, #667, #730)
    • Consuming phy::Device tokens is now infallible.
      • In the case of "buffer full", phy::Device implementations must return None from the transmit/receive methods. (Previously, they could either do that, or return tokens and then return Error::Exhausted when consuming them. The latter wasted computation since it'd make smoltcp pointlessly spend effort preparing the packet, and is now disallowed).
      • For all other phy errors, phy::Device implementations should drop the packet and handle the error themselves. (Either log it and forget it, or buffer/count it and offer methods to let the user retrieve the error queue/counts.) Returning the error to have it bubble up to Interface::poll() is no longer supported.
  • phy: the trait Device now uses Generic Associated Types (GAT) for the TX and RX tokens. The main impact of this is Device impls can now borrow data (because previously, thefor<'a> T: Device<'a> bounds required to workaround the lack of GATs essentially implied T: 'static.) (#572)
  • iface: The Interface API has been significantly simplified and cleaned up.
    • The builder has been removed (#736)
    • SocketSet and Device are now borrowed in methods that need them, instead of owning them. (#619)
    • Interface now owns the list of addresses (#719), routes, neighbor cache (#722), 6LoWPAN address contexts, and fragmentation buffers (#736) instead of borrowing them with managed.
    • A new compile-time configuration mechanism has been added, to configure the size of the (now owned) buffers (#742)
  • iface: Change neighbor discovery timeout from 3s to 1s, to match Linux's behavior. (#620)
  • iface: Remove implicit sized bound on device generics (#679)
  • iface/6lowpan: Add address context information for resolving 6LoWPAN addresses (#687)
  • iface/6lowpan: fix incorrect SAM value in IPHC when address is not compressed (#630)
  • iface/6lowpan: packet parsing fuzz fixes (#636)
  • socket: Add send_with to udp, raw, and icmp sockets. These methods enable reserving a packet buffer with a greater size than you need, and then shrinking the size once you know it. (#625)
  • socket: Make trait AnySocket object-safe (#718)
  • socket/dhcpv4: add waker support (#623)
  • socket/dhcpv4: indicate new config if there's a packet buffer provided (#685)
  • socket/dhcpv4: Use renewal time from DHCP server ACK, if given (#683)
  • socket/dhcpv4: allow for extra configuration
    • setting arbitrary options in the request. (#650)
    • retrieving arbitrary options from the response. (#650)
    • setting custom parameter request list. (#650)
    • setting custom timing for retries. (#650)
    • Allow specifying different server/client DHCP ports (#738)
  • socket/raw: Add peek and peek_slice methods (#734)
  • socket/raw: When sending packets, send the source IP address unmodified (it was previously replaced with the interface's address if it was unspecified). (#616)
  • socket/tcp: Do not reset socket-level settings, such as keepalive, on reset (#603)
  • socket/tcp: ensure we always accept the segment at offset=0 even if the assembler is full. (#735, #452)
  • socket/tcp: Refactored assembler, now more robust and faster (#726, #735)
  • socket/udp: accept packets with checksum field set to 0, since that means the checksum is not computed (#632)
  • wire: make many functions const (#693)
  • wire/dhcpv4: remove Option enum (#656)
  • wire/dhcpv4: use heapless Vec for DNS server list (#678)
  • wire/icmpv4: add support for TimeExceeded packets (#609)
  • wire/ip: Remove IpRepr::Unspecified, IpVersion::Unspecified, IpAddress::Unspecified (#579, #616)

... (truncated)

Commits
  • 9027825 Release v0.9.1
  • c924393 Merge #747
  • 51af32e iface: make MulticastError public.
  • c978b36 Merge #746
  • 46cca50 Fix parsing of link layer address for ndiscoptions
  • 20e5455 Release v0.9.0
  • 739e7a5 Merge pull request #742 from smoltcp-rs/size-configs
  • b047cbe Add compile-time configuration options for counts and buffer sizes.
  • 3fbef82 Merge pull request #740 from smoltcp-rs/fragmentation-unify
  • a656ab0 iface: use reassembly timeout setting for both ipv4 and 6lowpan.
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [smoltcp](https://github.com/smoltcp-rs/smoltcp) from 0.7.5 to 0.9.1.
- [Release notes](https://github.com/smoltcp-rs/smoltcp/releases)
- [Changelog](https://github.com/smoltcp-rs/smoltcp/blob/master/CHANGELOG.md)
- [Commits](smoltcp-rs/smoltcp@v0.7.5...v0.9.1)

---
updated-dependencies:
- dependency-name: smoltcp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant