windy1 / zeroconf-rs

zeroconf is a cross-platform library that wraps underlying ZeroConf/mDNS implementations such as Bonjour or Avahi, providing an easy and idiomatic way to both register and browse services.
MIT License
77 stars 25 forks source link

Updates to facilitate zeroconf-tokio #58

Closed windy1 closed 3 months ago

windy1 commented 3 months ago

Relates to: https://github.com/windy1/zeroconf-rs/issues/1

What

This PR implements Send/Sync and converts usages of Rc to Arc where necessary to facilitate a new crate called zeroconf-tokio which provides an async wrapper around zeroconf using a tokio runtime.

Manual Tests

Tested on macOS/Windows/Linux

Documentation Updates

n/a