-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extract dns_parser.rs into its own crate mdns-parser (#284)
- the new crate is kept in this same repo to keep things easier to manage (and the patch diff easier to track). - mdns-sd crate will depend on the new crate mdns-parser (inside the repo)
- Loading branch information
1 parent
7afed98
commit b1795c9
Showing
11 changed files
with
702 additions
and
587 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[package] | ||
name = "mdns-parser" | ||
version = "0.1.0" | ||
edition = "2018" | ||
rust-version = "1.65.0" | ||
authors = ["keepsimple <[email protected]>"] | ||
keywords = ["mdns", "service-discovery", "zeroconf", "dns-sd"] | ||
license = "Apache-2.0 OR MIT" | ||
repository = "https://github.com/keepsimple1/mdns-sd" | ||
description = "DNS message parsing for mDNS Service Discovery" | ||
|
||
[features] | ||
logging = ["log"] | ||
|
||
[dependencies] | ||
log = { version = "0.4", optional = true } # logging | ||
|
||
[dev-dependencies] | ||
fastrand = "2.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# mdns-parser | ||
|
||
A DNS message parsing utility for mDNS service discovery. Originally it was just a file in the [`mdns-sd`](https://crates.io/crates/mdns-sd) crate, and now it is built into its own crate so that it can be used in other cases. Please note that the API is still experimental and might change in near future. | ||
|
||
## Contribution | ||
|
||
Contributions are welcome! Please open an issue in GitHub if any questions. | ||
|
||
Unless you explicitly state otherwise, any contribution intentionally submitted | ||
for inclusion in the work by you, as defined in the above license(s), shall be | ||
dual licensed as above, without any additional terms or conditions. | ||
|
Oops, something went wrong.