Skip to content

v0.1.0-pre.7

Pre-release
Pre-release

Choose a tag to compare

@ewilken ewilken released this 27 Jun 13:41
· 31 commits to main since this release

Dependency Updates

  • Upgrade tokio, hyper & libmdns
    • tokio 0.2 -> 1.7
    • hyper 0.13 -> 0.14
    • libmdns 0.2 -> 0.6

Bind Address Determination

  • Use get_if_addrs to replace the previous, flawed method of getting a bind IP
  • Remove the socket_addr field from the Config struct in favor of explicit host & port fields
  • Auto-determination now works with an IPv6 address too
  • Add redetermine_local_ip method to the Config struct and documentation about using it

mDNS Responder Configuration

  • The mDNS responder is configured correctly now (instead of constantly being restarted)
  • Connections to iOS controllers should be a lot more reliable now

Server-side AID Cache

  • Cache AIDs as a Vec<u64> that gets persisted to the Storage
  • The config number is now only increased when an accessory with a new AID is added to the server

Other

  • Make the future returned from IpServer::run_handle fallible to be able to properly catch bind errors (and all the other ones)
  • Rename AccessoryList to AccessoryDatabase
  • Count pairings on IpServer creation and set config.status_flag accordingly