lilyball / dnssd-rs

Simple Rust wrapper around DNS-SD

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rust dns-sd Wrapper

My attempt to learn wrapping C APIs in Rust, and aim for a minimal but friendly safe wrapper around dns-sd(Bonjour, mDNS, Zeroconf DNS) APIs.

Status

Complete

  • Service registration

In Progress

  • Service browsing
  • TXTRecord support for service registration

Todo

  • How to check for more (select() on socket, but has to be win32 friendly)
  • Record creation
  • Name resolution
  • Port map
  • Tests
  • Documentation
  • Pure Rust TXT code?
  • Interior mutability? (Can we reduce the &mut arguments some?)

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

Simple Rust wrapper around DNS-SD

License:Apache License 2.0


Languages

Language:Rust 100.0%