From e092c312a46a697c4169b1dd3b948ecf88e848a1 Mon Sep 17 00:00:00 2001 From: Greg Linklater Date: Sat, 13 Jan 2018 09:38:49 +0200 Subject: [PATCH 1/4] chore(cargo): rename crate to disambiguate --- Cargo.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 40b20bf..4a2ca91 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "mdns" +name = "mdns-responder" version = "0.2.0" authors = ["Paul Lietar "] @@ -18,7 +18,6 @@ net2 = "0.2" nix = "0.8" rand = "0.3" tokio-core = "0.1.1" - dns-parser = { git = "https://github.com/plietar/dns-parser" } [target.'cfg(windows)'.dependencies] From 92f3e625147bfec6608f8806cbceade4d768b99b Mon Sep 17 00:00:00 2001 From: Greg Linklater Date: Sat, 13 Jan 2018 09:40:05 +0200 Subject: [PATCH 2/4] chore(cargo): update README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 84dfd0e..ae873ed 100644 --- a/README.md +++ b/README.md @@ -7,14 +7,14 @@ rust-mdns is a pure rust implementation of the mDNS ([RFC 6762]) and DNS-SD ([RF To use it, first add this to your `Cargo.toml`: ```toml -[dependencies.mdns] -git = "https://github.com/plietar/rust-mdns" +[dependencies.mdns-responder] +git = "https://github.com/EternalDeiwos/rust-mdns" ``` Then, add this to your crate root: ```rust -extern crate mdns; +extern crate mdns_responder; ``` [RFC 6762]: https://tools.ietf.org/html/rfc6762 From 523bb0ab6f0c3003169becf98dde37ba7294e4ed Mon Sep 17 00:00:00 2001 From: Fabian Freyer Date: Fri, 2 Mar 2018 02:45:01 +0100 Subject: [PATCH 3/4] examples: change name to mdns_responder --- examples/register.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/register.rs b/examples/register.rs index 324c261..b617776 100644 --- a/examples/register.rs +++ b/examples/register.rs @@ -1,11 +1,11 @@ extern crate env_logger; -extern crate mdns; +extern crate mdns_responder; extern crate dns_parser; pub fn main() { env_logger::init().unwrap(); - let responder = mdns::Responder::new().unwrap(); + let responder = mdns_responder::Responder::new().unwrap(); let _svc = responder.register( "_http._tcp".to_owned(), "Web Server".to_owned(), From 08d5547d073d80705e41197324da52627559ff37 Mon Sep 17 00:00:00 2001 From: Fabian Freyer Date: Fri, 2 Mar 2018 02:58:01 +0100 Subject: [PATCH 4/4] update readme to reflect rename --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ae873ed..1d83705 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# rust-mdns - Rust mDNS responder +# mdns_responder - Rust mDNS responder -rust-mdns is a pure rust implementation of the mDNS ([RFC 6762]) and DNS-SD ([RFC 6763]) protocols. +mdns_responder is a pure rust implementation of the mDNS ([RFC 6762]) and DNS-SD ([RFC 6763]) protocols. ## Usage @@ -8,7 +8,7 @@ To use it, first add this to your `Cargo.toml`: ```toml [dependencies.mdns-responder] -git = "https://github.com/EternalDeiwos/rust-mdns" +git = "https://github.com/plietar/rust-mdns-responder" ``` Then, add this to your crate root: