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

Projects
None yet
2 participants
@8176135
Copy link

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

This comment has been minimized.

Copy link
Owner

commented May 16, 2019

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

@anderejd anderejd merged commit c39f630 into anderejd:master May 16, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.