Skip to content

Conversation

PsypherPunk
Copy link
Collaborator

move functions for address-parsing/-resolution to a submodule.

fixes #580

As per #580, I've refactored the address-related functions from main.rs to their own submodule (along with related tests); only parse_addresses and parse_address are public, the other functions appear to be largely ancillary…?

move functions for address-parsing/-resolution to a submodule.

fix bee-san#580
@PsypherPunk PsypherPunk force-pushed the 580-public-address-functions branch from bc8d8d7 to e8a66ab Compare May 7, 2024 11:42
@bee-san
Copy link
Owner

bee-san commented May 8, 2024

Any way we can add docstrings and doc-string-tests like in our other API things? Since this goes to docs.rs it'd be cool to expose it on there too along with nice tests 🙈

Thank you for your hard work 🦾

@PsypherPunk PsypherPunk force-pushed the 580-public-address-functions branch from c8f5b0c to e4e998e Compare May 8, 2024 16:09
@bee-san
Copy link
Owner

bee-san commented May 9, 2024

Awesome work!!! 👏🏻

If you happen to have free time and want to work on something but not sure what, #531 would be awesome to fix up 👀

@bee-san bee-san merged commit d471065 into bee-san:master May 9, 2024
@PsypherPunk PsypherPunk deleted the 580-public-address-functions branch May 9, 2024 07:49
@PsypherPunk
Copy link
Collaborator Author

@bee-san, re. #531 I've brought that change up to speed with recent refactoring; as I don't have permission to change the original branch, the update is over at PsypherPunk/RustScan/tree/531-custom-dns-resolver—this retains the original commits though.

I'll work through your comments on the original PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feat: Make functions like parse_address public in the library.
2 participants