Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separated out the actual source code parsing part from find_unsafe_in_file, and made it public #55

Merged
merged 1 commit into from
May 16, 2019

Conversation

8176135
Copy link

@8176135 8176135 commented May 16, 2019

Separated out the actual source code parsing part from find_unsafe_in_file, and made it public. This allows the caller to decided how load the source code to be parsed.

I'm implementing a way to check for unsafe code for chit which downloads the crate and extracts it in memory. Nothing is written to disk, so having a separate function makes using this library a lot more efficient.

@anderejd
Copy link
Contributor

Nice, thanks! I'll publish this to crates.io shortly.

@anderejd anderejd merged commit c39f630 into geiger-rs:master May 16, 2019
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.

None yet

2 participants